Compare texts and documents online, free.

Paste text or open files – everything stays on your device.

--- a/old version
Lines: 0 · Characters: 0
+++ b/new version
Lines: 0 · Characters: 0
Visual mode compares the files as rendered pages, including colors and layout.
Comparison result
Removed Added Modified
✓
Both versions are identical – nothing to show.

Features

Frequently asked questions

Are my files uploaded anywhere?

No. Files are processed entirely in your browser and never leave your device, so you can safely compare contracts, reports or code that must stay confidential. The page only downloads the libraries it needs to read your files.

What is the difference between visual and text comparison?

Text comparison shows a side-by-side or line-by-line diff with added, removed and changed lines highlighted – for prose, configuration files and source code alike. For two PDF or Word files, the visual comparison renders every page and compares them pixel by pixel, so changes in layout, images, colors and formatting show up too.

Which file formats are supported?

Documents: PDF, Word (.docx), OpenDocument (.odt), RTF and EPUB e-books. Text and data: TXT, Markdown, CSV, JSON, XML, YAML and more. Source code in Python, JavaScript, TypeScript, PHP, Java, C#, Go and many other languages – over 75 file types in total.

Is Text Diff free?

Yes. Text Diff is free, needs no registration and has no artificial limits on file size or the number of comparisons.