Compare Any Two Texts
Line by Line — Free & Private
Paste any text — code, logs, config files, plain text — and see exactly what changed. Nothing uploaded.
What You Can Compare
Text Diff vs JSON Diff — Which to Use
| Use case | Text Diff | JSON Diff |
|---|---|---|
| Plain text, code, logs | ✓ Use this | ✗ JSON only |
| JSON with different key order | Reports as changed | ✓ Correctly identical |
| Config files (.yaml, .env) | ✓ Use this | ✗ JSON only |
| API response payloads (JSON) | Works but not semantic | ✓ Use this |
| SQL queries, log files | ✓ Use this | ✗ JSON only |
FAQ
Can I compare plain text that isn't JSON? +
Yes — this tool works with any text. Plain text, source code, log files, config files, CSV, markdown. For structured JSON specifically, the JSON Diff tool handles key order and nested structure more precisely.
Is my text sent to a server? +
No. All comparison runs entirely in your browser. Nothing is uploaded. Safe for source code, logs containing credentials, config files with secrets, and any sensitive content.
How large a file can I compare? +
The limit is your browser's memory. Files up to a few hundred KB compare instantly. Very large files (several MB of text) may take a moment but will work. There's no server-imposed limit.
Need JSON comparison instead?
The JSON Diff tool understands structure — key order ignored, nested changes shown precisely.
Open JSON Diff →