Diff Checker
Compare two texts and highlight changes line by line or word by word.
Granularity:
View:
About this tool
Compare two pieces of text and see what changed: additions in green, removals in red. Pick line-level granularity for code and configs, or word-level for prose. The inline view weaves both versions together, while side-by-side shows them in parallel columns like a code review.
A summary line counts added and removed segments so you can gauge the size of a change at a glance. The comparison runs in your browser with an open-source diff algorithm, so your text never leaves the page.
Frequently asked questions
- Is the text I compare kept private?
- Yes. The diff is computed by a JavaScript library in your browser, so neither side of the comparison is uploaded or stored anywhere.
- What's the difference between line-level and word-level diff?
- Line-level treats each line as the unit of change, best for code and config files. Word-level highlights individual changed words, best for prose.
- Can I compare code files?
- Yes. Paste both versions into the two panes; line-level mode with the side-by-side view reads like a code review diff.
Related tools
JSON Formatter ๐ Format, validate and minify JSON with clear error messages. Unix Timestamp Converter ๐ Convert Unix timestamps to dates and back, in seconds or milliseconds. Base64 Encode / Decode ๐ Encode and decode Base64 text or convert files to data URIs. JWT Decoder ๐ Decode JWT header and payload without your token leaving the page.