Text Diff
Compare two versions of any text and see exactly what changed. Line-level highlighting, side-by-side or unified view, and a downloadable .diff — all computed on your device.
Original
0 lines
Changed
0 lines
Difference
Paste text into both panes to compare them.
What Text Diff does
- Side-by-side and unified views
- Word-level highlighting within changed lines
- Collapse unchanged runs, jump between changes
- Ignore blank lines, edge whitespace, trailing newlines or case
- Load either side straight from a file
- Copy or download a correct unified diff
How to use it
- 01
Open the diff tool.
- 02
Paste the original and the changed text.
- 03
Read the aligned differences.
- 04
Copy or download the unified diff.
Common questions
- Are the two texts uploaded?
- No. Both texts are compared in your browser; nothing is sent to a server.
- How detailed is the comparison?
- Changes are aligned side by side or as a unified diff, with word-level highlighting inside changed lines, collapsible unchanged runs, and next/previous change navigation.
- Can I ignore noise like whitespace or case?
- Yes. You can ignore blank lines, edge whitespace, trailing newlines and case, and you can load either side straight from a file.
More tools
ReadyJSON Formatter & ValidatorFormat, validate, minify and sort JSON — instantly, in your browser.Runs in your browserOpenReadySQL FormatterPretty-print and tidy SQL across 15+ dialects.Runs in your browserOpenReadyRegEx TesterTest, explain and generate code for regular expressions.Runs in your browserOpen