Add threaded discussions to your documents

Let users start conversations, reply in context, and tag collaborators — with real-time or asynchronous syncing, deployable in web, mobile, and server-backed environments.


Enable real-time feedback and document collaboration

Give users a familiar way to review contracts, reports, and manuals with threaded comments that stay connected to the source material.

Mention teammates and follow up fast

Users can tag collaborators with @mentions and send notifications, making reviews feel collaborative, not chaotic.

Choose real-time or async workflows

Comments work in real time with Nutrient Instant, or as persistent annotation threads in standalone apps.

Support multiple review styles

Whether users are commenting on text highlights (via annotations) or standalone markers, each thread stays organized, anchored, and easy to review.


HOW IT WORKS

A better way to comment, reply, and review

The comments UI is designed for intuitive, thread-style conversations — with flexible placement, tagging, and syncing options.

KEY FEATURES

Threaded replies, built for every workflow

Threaded feedback. Rich mentions. Full control. Everything you need for modern collaboration inside your documents.

Web UI with a document open, showing comments and discussion
Comment marker annotations

Add standalone comment markers anywhere on a page to start threads, even without a markup annotation.


Threaded replies

Users can respond inline to any comment, with clear visual threading — supporting rich text, links, and styling.


@Mentions and notifications

Mentionable users can be configured with name, ID, avatar, and more. Mentions can trigger events to notify specific users.


Real-time syncing with Instant

Connect to Nutrient Instant to sync comments across users in real time — with visual indicators for changes as they happen.


Asynchronous support

In non-Instant deployments, comments behave like annotation replies and sync when documents are reloaded or saved.


Fine-grained permissions

Use isEditableComment() to control who can add or delete comments based on roles, annotation ID, or other logic.


Custom UI styling

Tailor the look and feel of comment threads using public CSS classes or custom avatar renderers.


Responsive UI

Comments adapt to screen size — displayed in a sidebar on larger screens or a bottom drawer on mobile.


Rich text comments

Enable styling for bold, italic, color, links, and more — built into the comment editor.


Supported on your platform



Run it your way

Whether you’re building for web, mobile, or the backend, Nutrient gives you full flexibility — all with a consistent developer experience.

Client-side SDKs

Use the web, mobile, and cross-platform SDKs to embed document capabilities directly into your app — fully client-side, no backend required


Server-backed control

Use Document Engine for server-backed processing, data control, and deep infrastructure integration


Cloud-hosted scale

Use Document Web Services (DWS) for instant scale, with cloud-hosted APIs for viewing, annotating, converting, and more


WEB PLAYGROUND

Looking for the code? Come play in our sandbox



REAL-WORLD IMPACT

Built for scale. Trusted in production.

Nutrient powers mission-critical document workflows for global enterprises — from compliance-heavy industries to modern SaaS teams.


Used Nutrient to enable fast, focused board pack review with in-document annotations and threaded feedback — enhancing governance workflows across schools and nonprofits.


Integrated the Nutrient PDF SDK to deliver high‑fidelity previews and editing in its mobile apps, shipping customer‑requested features to 115,000 organizations months ahead of schedule.


Rolled out nationwide PAdES-compliant signatures with the Nutrient PDF SDK, letting every Austrian citizen sign official documents securely in seconds.

FREE TRIAL

Add comments and replies to your app — no credit card required

Frequently asked questions

What does Nutrient’s comments and replies SDK do?

It lets you embed thread-style conversations inside your PDF viewer — with support for in-place replies, mentions, permissions, and real-time or asynchronous syncing.

How are comments stored and exported?

They’re stored as annotation replies and can be exported in Instant JSON or XFDF. Compatible viewers will display threads correctly.

Can I enable real-time collaboration?

Yes. With Nutrient Instant enabled, comments sync live across users — no reloads or saves needed.

How do @mentions work?

You can configure a list of mentionable users. When mentioned, users can be notified via event listeners in your app logic.

What if I don’t want real-time syncing?

Comments work asynchronously too. In standalone apps, threads are saved and loaded just like annotations.

Can I control who can edit or delete comments?

Yes. Use the isEditableComment() function or instance.setIsEditableComment() to restrict permissions by role, user, or context.

Does the SDK support rich text in comments?

Yes. Users can format text with bold, italics, colors, hyperlinks, and more.

Can I customize the comment UI?

Absolutely. Style comment threads using CSS, or swap out avatars with a custom renderer.

How does the UI adapt to different devices?

On desktop and tablet, threads appear in a sidebar or popover. On mobile, they display in a bottom drawer.

Is this component included by default in all SDKs?

Comments and Replies is available as a licensed add-on to Nutrient SDKs. You can start with a free trial or contact our team to add it to your plan.


Collaborate inside your documents — with threaded, synced comments

Looking to add in-PDF conversations, @mentions, or feedback threads? Nutrient’s comments and replies SDK turns static PDFs into collaborative workspaces — fully synced or saved, depending on your deployment.

Whether you’re reviewing contracts, auditing reports, or enabling real-time discussion in a board pack, Nutrient gives your users familiar commenting tools embedded right in the document.

Key capabilities include:
  • Add comment markers or reply to annotations
  • Threaded discussions with @mentions and rich text support
  • Real-time syncing via Nutrient Instant or asynchronous save/load mode
  • Configurable user permissions and editable roles
  • Customizable UI with mobile-friendly sidebar and avatars
  • Export comments in Instant JSON or XFDF
Built for use cases like:
  • Legal review and contract negotiation
  • Internal audits and policy feedback
  • Education and peer-to-peer markup
  • Async or live document collaboration at scale
This component answers key developer questions like:
  • How do I enable threaded comments in PDFs?
  • Can I mention users and notify them in-document?
  • What SDK supports real-time comment syncing?
  • How do I customize the PDF commenting UI?
  • What’s the difference between annotations and comment threads?

From solo review to full-team feedback, Nutrient’s commenting tools scale with your workflow — and your infrastructure.