Spot visual differences with pixel precision

Compare two documents side by side and highlight design, layout, and structural changes with vector-accurate rendering.


Compare PDFs visually, down to the stroke

Overlay two documents and highlight design, layout, or drawing changes with pixel-perfect accuracy — ideal for blueprints, engineering files, and more.

Align pages automatically or manually

Let users compare perfectly matched documents in auto mode, or switch to manual alignment with reference points when precision matters.

Customize views for clarity and contrast

Control stroke colors and blend modes to reveal even subtle differences in overlapping vector content.

Review changes across devices

Support desktop mouse precision and mobile-friendly drag-to-align workflows, complete with magnifier and toolbar integration.


HOW IT WORKS

Precision comparison, built into your viewer

Use a single API to launch visual comparison from the toolbar, from code, or directly in your app’s viewer. The example below shows how manual alignment works when documents aren’t perfectly aligned.

KEY FEATURES

Advanced visual diffing for vector-based documents

Compare layered drawings, architectural plans, or layout revisions with precision — no need to flatten files or export to another tool.

Document comparison interface showing overlay view
Automatic and manual alignment

Start with auto-alignment for perfectly matched documents, or let users manually select reference points for rotated or offset pages.


Touch vs. desktop precision

Use mouse-based selection for exact click targeting, or drag-to-center interaction for touch-based alignment on mobile and tablets.


Blend mode and stroke color customization

Choose stroke colors per document and switch between blend modes (like darken or multiply) for optimal contrast.


Toolbar integration

Let users launch comparison from a toolbar button, with configuration options for default behavior, source documents, and UI state.


Per-page control

Compare any page in either document, not just page one. Set index values to target specific layouts.


Magnifier view

Enable a circular zoom lens in desktop mode for pixel-level inspection during alignment and review.


Reset and retry

Let users reset the comparison flow and start over with new reference points if needed.


CSS customization

Style the Document Comparison UI using public CSS classes for a seamless app experience.


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 of different document versions with in-document annotations and threaded feedback — enhancing governance workflows across schools and nonprofits.


Renders multipage PDFs and signature tags with Nutrient, keeping 200 million users in 188 countries moving at the speed of eSignature.


Empowers 34,000 pilots to view, annotate, and sign 90-page flight releases on iPad using Nutrient iOS SDK, saving minutes — and money — on every flight.

FREE TRIAL

Add visual comparison to your app — no credit card required

Frequently asked questions

What features does Nutrient’s document comparison SDK include?

Nutrient’s document comparison SDK enables developers to compare two PDFs side by side or overlaid in a single view. Differences in layout, design, or structure are clearly highlighted using customizable stroke colors and blend modes — ideal for architectural drawings, engineering plans, and version-controlled documents.

How does manual alignment work?

Manual alignment lets users select three reference points on each page to align documents that aren’t perfectly matched. This is useful for scanned documents, rotated pages, or CAD drawings with slight positional shifts.

Can I match the comparison UI to my app’s look and feel?

Yes. The SDK exposes robust styling hooks and public CSS classes, allowing full UI theming, toolbar configuration, and integration into your app’s design system.

Does this support live collaboration or threaded feedback?

While Document Comparison focuses on visual diffing, it integrates seamlessly with Nutrient’s Comments and Replies component and real-time syncing features. Teams can compare documents and leave feedback directly in the diff view.

Which platforms and frameworks are supported?

The SDK supports Web, iOS, Android, Electron, MAUI, React Native, Flutter, and visionOS — ensuring consistent experiences across modern browsers and mobile platforms.

Can I use this with large or complex PDFs?

Yes. The SDK is optimized to handle high-resolution PDFs and complex vector content. Whether you’re comparing multipage construction plans or dense technical files, rendering remains fast and responsive.

Is there a live demo available?

Absolutely. You can explore Nutrient’s document comparison capabilities in our interactive Web playground — no sign-up required.


Compare documents visually — at any scale

Nutrient’s document comparison SDK helps developers build powerful visual review tools that catch even the smallest layout or design change. Whether you’re reviewing construction blueprints, verifying updated design specs, or auditing regulatory files, Nutrient gives your users clarity and control.

Key capabilities include:
  • Vector-accurate overlay comparison with stroke-level precision
  • Automatic or manual alignment via reference points
  • Color-coded blend modes for change detection
  • Magnifier view and toolbar launch options
  • Cross-platform compatibility (web, mobile, desktop)
Common use cases:
  • Compare plan revisions in architecture and construction
  • Verify design updates in product and UX teams
  • Review scanned documents or rotated PDFs in legal or compliance
  • Align and inspect multi-language or multi-region versions of contracts
  • Integrate with approval flows and feedback loops via Comments and Replies

Trusted by leading SaaS platforms, enterprise teams, and global document workflows, Nutrient’s SDK brings high-fidelity visual comparison directly into your application.