How do I compare two texts online?
Paste your first version into the left panel and the second into the right. The differences appear instantly, with no compare button and no signup. Additions show in green, removals in red, and the highlighting works right down to the individual character, so a single swapped word or number is easy to spot. The comparison runs in your browser, so your text stays on your device unless you choose to share it.
How do I find the difference between two texts?
Drop the two versions side by side and Compare Text highlights exactly what was added, removed, or reworded. It combines line-by-line and character-level diffing, which is what lets it catch the small edits you'd miss re-reading by eye: a moved clause, a flipped digit, a dropped "not". It works the same way for prose, code, configs, or any plain text you can paste.
Can I compare two text files?
Yes. Click Upload above the left panel and pick the first file, then do the same above the right panel for the second. Plain text (.txt, .md, .log), data (.csv, .tsv, .json, .xml), web and code files (.html, .css, .js, .sql) and configs (.yaml, .ini, .toml, .conf, .env) all work, and each file opens in the editor, so you can tidy it up before comparing. Word and PDF files need their text copied out first, because the tool compares plain text rather than document formats.
Is this text compare tool free?
Yes. There is no account, no trial and no limit on how often you compare text; the site is paid for by ads. Signing in is optional and only adds a list of the comparisons you have shared, so you can find or delete them later. Every format page, from JSON to contracts, is free in the same way.
Is a text comparator the same as a diff checker?
Yes, they are different names for the same kind of tool. Text comparator, text comparer, text compare tool, difference checker and diff checker all mean a program that takes two texts and marks what was added, removed or changed. Compare Text does that in the browser and goes one step further than many: inside an edited line it highlights only the characters that changed, not the whole line.
Does this save my text?
Not unless you ask it to. The comparison runs inside your browser, and nothing is logged or stored while you work. The one time your text reaches our servers is when you click Share: the link needs both texts saved somewhere, and they are deleted once the expiry you picked runs out. Skip Share and closing the tab is the end of it.
When should I use the JSON diff instead?
A text diff compares characters in order, so reordering keys in JSON or reformatting whitespace shows up as differences even when the data is identical. If you're comparing JSON specifically, use the Compare JSON tool instead. Its Format button lays both sides out the same way and Sort keys puts their keys in the same order. For prose, configs, plain code, or anything that isn't structured data, text diff is what you want.
Does it handle Windows vs Unix line endings (CRLF vs LF)?
Yes. The editor splits lines on CRLF, LF and the old Mac CR alike, so a Windows file pasted or uploaded against a Unix copy of the same text shows no changes. That also means this tool will not tell you which line endings a file uses. If that is what you need to check, run file name.txt in a terminal or look at the status bar of your code editor.
How much text can I paste before it slows down?
More than most people need. Texts of a few thousand lines compare as you type. In our tests a 1 MB file with 81,000 lines and 100 edits spread through it showed all 100 in under a second on a laptop, and typing in it stayed at about a tenth of a second per key. Above 3,000 lines the editor draws only the lines on screen, so your browser's Ctrl+F searches the visible part; use the up and down change buttons to move between differences instead.
Why does the diff sometimes look fragmented?
When an edited line still resembles its original, only the characters that differ are marked, and inside a word that can be just a few letters: jumps and leaps share their last two, so only jum and lea light up. When a line has been rewritten so heavily that little of it survives, the tool stops matching pieces and shows the old line as removed and the new one as added, which is easier to read than a scatter of tiny highlights.
Can I compare files in different encodings?
Files uploaded via the upload button are read as UTF-8 (the FileReader default). A UTF-16 file with a byte-order mark is recognised too. Files in other encodings (Latin-1, Shift-JIS, Windows-1252) will appear garbled; convert them to UTF-8 first. For text already in your clipboard, your OS has resolved the encoding before you paste, so it generally just works.