# Comparing two PDFs

> How to accurately compare lengthy PDF documents and retain only substantive changes in the result.

> **This content was translated automatically and may contain inaccuracies.**

import VideoEmbed from '../../../../../components/blog/VideoEmbed.astro';

Using two versions of a lengthy statute, we demonstrate an accurate PDF comparison without manually reading page by page. We then refine the result so that it includes only pages with substantive textual changes.

<VideoEmbed url="https://pub-08e12a5d6d1a4d8d9a6a9c77b4ae3e84.r2.dev/homepage/academy/Agent%20-%2015-%20Porovannie%20dvoch%20pdf.mp4" title="Comparing two PDFs" />