🚧 We’re making Tools Pasal better. Found a broken tool or have an idea? Tell us →

Developer tools

Text Diff — Compare Two Texts Online

Paste two versions of any text and see exactly which lines were added or removed — git-style, instantly, privately in your browser.

When a diff beats re-reading

Comparing contract revisions, checking what an editor changed in your article, spotting what a colleague modified in a config file, or verifying a translation update — reading both versions side by side misses things; a line diff shows every change with nothing to overlook.

Frequently asked questions

How does the comparison work?

Line by line, using the same longest-common-subsequence approach as git diff: unchanged lines stay plain, removed lines are red with a −, added lines are green with a +. Line numbers for both versions are shown in the gutter.

Is my text uploaded anywhere?

No — the diff runs entirely in your browser, so it's safe for contracts, code and unpublished writing.

Can it compare Word or PDF files?

Paste the text content of each version. For PDFs, extract the text first with our PDF to Word tool, then paste both versions here.

Is there a size limit?

Each side is compared up to 3,000 lines — enough for large documents and source files; anything longer is truncated with a notice.

Related tools