Code sample for comparing PDFs using JavaScript

Semantic Overlay

Sample code following the Semantic Text Compare Showcase demo - Compare changes in semantic categories, such as headers, paragraphs, numbers, and generate a document with a summary of differences for easy review.

Compare by Image Overlay

Sample code to create the Compare by Image Overlay Showcase demo - The simplest way to programmatically compare 2 files either by converting the two documents to images and lay them on top of each other for a pixel-by-pixel comparison.

Difference Compare - 3 Panels

Shows how to render three synchronized panels where the middle panel shows pixel differences between the two documents.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales