Text compare & diff checker
Compare two texts and highlight added or removed words, spaces and lines. Copy or download a unified diff. Free, private and processed in your browser.
Free · No signup · Processed in your browserLoading the interactive tool…
How to use this tool
- Paste your original and updated text. One side may be empty to review a complete addition or deletion.
- Choose word or line highlighting, then select Compare texts.
- Review the changes, reveal whitespace if useful, and copy or download the unified diff.
How it works
This tool uses the Myers diff algorithm through jsdiff. Line mode compares complete lines. Word mode highlights words, punctuation and whitespace separately. Case, spaces and tabs count as changes; line endings are normalised to LF before comparison. A replaced line contributes one removed and one added line to the totals. The downloadable patch compares the same normalised text and includes three lines of surrounding context.
What to check before using the result
Use plain text, not PDF or Word documents. This is a revision comparison, not a plagiarism, meaning or correctness check. Each side allows 50,000 characters and 1,000 lines; some symbols count as two characters. Very different texts can hit the calculation limit: switch to line mode or compare a smaller section. The tool never silently shortens your input.
Your work stays yours.
Can I compare code as well as ordinary text?
Will the checker find spaces, tabs and capital-letter changes?
Can I download the changes without creating an account?
Are my files, text or numbers uploaded?
Do I need an account or subscription?
Can I share or link to this tool?
A shortcut worth keeping.
Bookmark this page or share it with someone who has the same task.
When your work goes live, see who finds it.
Publish your page, label your campaign and understand the visits that follow. Simple analytics, free during beta.