PDF APIs

Choose a document comparison endpoint

Diffchecker exposes two PDF comparison APIs. Use Plain Text when you want the plain-text document diff response shape, or choose Rich Text when you need structured geometry, page images, visual comparisons, or richer export options.

POST/pdf/plaintext

Plain Text

Plain-text PDF diff output for quick integrations that want the familiar Diffchecker-style JSON or HTML response.

jsonhtmlhtml_json

Best when you want a simpler, text-focused diff shape.

Good fit for standard review flows and lightweight integrations.

Matches the plain-text document diff behavior already used elsewhere in the product.

POST/pdf/richtext

Rich Text

Structured PDF diff output with polygons, page images, visual-content comparison, and export-ready HTML or PDF.

jsonhtmlhtml_jsonpdf

Best for custom viewers, overlays, and downstream automation.

Includes geometry and page metadata for precise rendering.

Adds richer output modes, including PDF export and visual object comparison.