> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/compare-files.md).

# Compare files

- [Compare PDF File Differences with JavaScript](https://docs.apryse.com/web/compare-files/compare.md): Compare PDF files effortlessly with the Apryse SDK. Visually analyze differences in images, text, forms, and more. Start overlaying and pixel-by-pixel comparison now! The Apryse Web SDK streamlines se
- [Compare PDFs by Overlaying PDFs in JavaScript Document Viewer](https://docs.apryse.com/web/compare-files/diffing.md): Overlay and compare PDFs effortlessly with WebViewer's Full API. Generate a new PDF highlighting differences between two files, preserving text and searchability. Ideal for visual document comparisons
- [Compare PDFs by using image pixel by pixel comparison](https://docs.apryse.com/web/compare-files/pixels.md): Efficiently compare PDFs with pixel-by-pixel image comparison. Utilize APIs to extract image data and overlay documents for detailed analysis. Enhance your document comparison process effortlessly. Th
- [Compare PDF Changes in Semantic Text Using JavaScript](https://docs.apryse.com/web/compare-files/semantic.md): Effortlessly compare semantic text elements like headers and paragraphs, generate difference summaries, and add highlights for easy review. Compare and annotate documents side by side with ease. Creat
- [Code sample for comparing PDFs using JavaScript](https://docs.apryse.com/web/compare-files/samples.md): Discover a code snippet for diffing PDFs using JavaScript. Learn how to compare documents and display pixel differences effectively. Explore the demo and source code. The Apryse Web SDK streamlines se
- [API to compare PDFs for differences](https://docs.apryse.com/web/compare-files/apis.md): Compare PDFs effortlessly with our API designed to detect differences efficiently. Enhance your document comparison process on web with ease. The Apryse Web SDK streamlines secure, serverless document


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/web/compare-files.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
