Compare Text
Compare two blocks of text and instantly see the differences between them — free.
Text 1 (Original)
Text 2 (Modified)
Differences
Compared line by line
Paste or type text in both boxes above to see the differences.
- Equal
- Modified
- Added
- Removed
Choose Line-by-Line comparison (equal/added/removed/modified, with counts) or Character-by-Character comparison for a finer-grained view.
Features
- Two modes: line by line or character by character
- Line mode marks each line as equal, added, removed or modified
- Character mode highlights every character that differs
- Counts of equal and different lines or characters
- Swap button reverses the comparison direction
- Positional comparison: line 5 is compared with line 5, so inserted lines shift later results
- Runs in your browser — nothing is uploaded
How to compare two texts
- 1
Paste both texts
Paste the original text and the text you want to compare it against.
- 2
Choose comparison mode
Pick Line-by-Line or Character-by-Character comparison.
- 3
Review the differences
Matching, added, removed, and modified parts are highlighted instantly, with counts.
Frequently asked questions
How does the text comparison work?
Does it handle inserted or deleted lines well?
Is my text uploaded anywhere?
Is this free?
More free text tools
Word Counter
Count words, characters and reading time
Text Analysis
Words, sentences, paragraphs, lines
Transform Text
Change case, remove spaces and line breaks
Code Tools
Format JSON, XML/HTML, Base64
Rich Text Editor
Format text, export HTML or plain text
Word Editor
Create and edit .docx documents
Excel Editor
Edit .xlsx and .csv spreadsheets
PowerPoint Editor
Create and edit .pptx slides
AI Summarizer & Translator
Summarize text or PDFs on-device
From Our Blog
YAML vs JSON: Differences and How to Convert Between Them
YAML and JSON describe the same data in different styles. Learn the differences, the common YAML mistakes, and how to convert between the two instantly.
How Text Difference Tools Compare Two Documents
When two versions of a document exist, finding what changed is critical. Text diff tools highlight every single difference between two texts instantly.
