Text Diff
Compare two blocks of text and see exactly what changed.
How to use
Paste the original text on the left and the changed text on the right. The line-by-line diff appears below with additions and removals highlighted.
About this tool
Paste an original and a changed version to get a clear line-by-line diff — added lines in green, removed lines in red, unchanged lines in between. Great for comparing config files, drafts, or snippets. Runs entirely in your browser.
What you can use Text Diff for
- See what changed between two versions of a config
- Compare a draft against an edited copy
- Spot differences between two code snippets
- Review edits without a full git setup
Frequently asked questions
How does the diff work?
It computes a line-by-line diff (longest common subsequence), marking each line as unchanged, added, or removed.
Is my text uploaded?
No — the comparison runs entirely in your browser, so it's safe for private content.
Is there a size limit?
Very large inputs are capped (a few thousand lines each) to keep the comparison fast in the browser.
More tools
Browse all →Base64 Encode / Decode
Encode text to Base64 or decode it back — instantly, in your browser.
Basic Auth Header Generator
Turn a username and password into a Basic Authorization header.
Binary to Text Converter
Convert text to binary and binary back to text.
Case Converter
Convert text between camelCase, snake_case, kebab-case, and more.
Color Converter
Convert colors between HEX, RGB, and HSL — with a live swatch.
Cron Explainer
Decode a cron expression into plain English and see its next runs.