Text Compare
Compare two texts and highlight every addition and deletion.
- Free, no sign-up
- Files stay on your device
- Works offline
Loading tool…
How to use the Text Compare
- 1
Paste the original text in the left box.
- 2
Paste the changed version in the right box.
- 3
Choose to compare by line, word or character.
- 4
Review the highlighted result: green is added, red is removed.
Frequently asked questions
Everything you need to know about the Text Compare.
Which comparison mode should I use?
Use “Lines” for code and lists, “Words” for documents and articles, and “Characters” to spot tiny changes like typos or punctuation.
Is my text uploaded anywhere?
No. The comparison runs entirely in your browser, so it's safe for contracts, code and other private documents.
Can I compare code?
Yes. Line mode works well for any source code, config file or CSV, and whitespace is preserved exactly.
Related tools
More Text ToolsWord CounterCount words, characters, sentences and reading time as you type.Case ConverterChange text to UPPERCASE, lowercase, Title Case, camelCase and more in one click.Remove Duplicate LinesDelete repeated lines from lists, emails or keywords and sort what's left.Lorem Ipsum GeneratorGenerate placeholder text by paragraphs, sentences or words.Find and ReplaceSearch and replace text in bulk, with whole-word and regex options.Markdown EditorWrite Markdown with a live preview, then export HTML or .md files.