How do I compare the two texts?
Paste the first text on the left and the second text on the right. The comparison runs automatically and highlights added lines in green, removed lines in red and changed words inside a line.
Compare 2 texts, files, JSON objects or lists online. Paste or upload both sides (up to 1 MB each) and every added, removed and changed line is highlighted.
Compare two JSON objects and highlight the differences
Decode and view multiple level JSON strings with ease
Convert any JSON string to one line without spaces or indentation
Generate a JSON schema from a JSON string
Convert JSON to TOON format for LLM-optimized token efficiency
Convert TOON format back to standard JSON
Paste two inputs or upload two files. The tool detects whether you are comparing text, JSON or a list and shows the differences accordingly.
Compare two versions of a document line by line. Changed words inside a line are highlighted too.
Weekend Picnic Plan Meet at Maple Park at 10am Bring sandwiches and lemonade Games: frisbee and cards Leave by 3pm
Weekend Picnic Plan Meet at Maple Park at 11am Bring sandwiches, fruit and lemonade Games: frisbee and cards Don't forget the blanket Leave by 4pm
JSON is formatted and its keys sorted before comparing, so only real value changes show up.
{"name":"Sunny Bean","open":"8am-6pm","menu":["Honey Latte","Matcha Cloud"],"wifi":false}{
"wifi": true,
"name": "Sunny Bean",
"menu": ["Honey Latte", "Lavender Dream"],
"open": "7am-8pm"
}Find items that are only in the first list, only in the second list, or in both. Order does not matter.
apple banana cherry grape mango
["banana", "kiwi", "apple", "peach", "mango"]
Paste the first text on the left and the second text on the right. The comparison runs automatically and highlights added lines in green, removed lines in red and changed words inside a line.
Yes. Click Upload or drag a file onto each side. Any plain-text file up to 1 MB works: .txt, .json, .csv, .md, .log, .xml, .yaml, source code and more. Files are read in your browser and never uploaded to a server.
Plain text is compared line by line. JSON is formatted (and keys sorted, if you choose) before comparing, so formatting and key order do not create false differences. Lists and arrays are compared as sets, showing items only in A, only in B and in both.
If both sides are JSON arrays of simple values the tool compares them as lists; if both are other valid JSON it compares them as JSON; everything else is compared as text. You can always override this with the Compare as buttons.
Yes. Turn on Ignore whitespace to treat lines that differ only in spaces or tabs as equal, and Ignore case to treat upper and lower case letters as the same.
No, this site does not store or share your data in the cloud. Your data remains private and is kept locally on your browser.
Yes, we welcome all suggestions! Please feel free to share your feedback using the link at the bottom of the page.

Outrun the ghosts. Grab the candy. Make it home.

Outrun the ghosts. Grab the candy. Make it home.