Text Compare
Diff two texts in your browserCompare two texts with line-by-line diff. Format SQL or JSON before comparing. Side-by-side or unified view, ignore whitespace and case — all in your browser.
Paste on both sides — or
Related tools
FAQ(click to expand)
- What is a text compare tool?
- A text compare (diff) tool shows line-by-line differences between two blocks of text — added lines, removed lines, and unchanged lines — so you can spot changes quickly.
- Can I compare SQL or JSON?
- Yes. Use the Format SQL or Format JSON buttons on each side to beautify before diffing. Ideal for comparing queries, configs, and API payloads.
- What does ignore whitespace do?
- When enabled, leading and trailing spaces on each line are ignored during comparison. Useful when indentation differs but content is the same.
- Is my text sent to a server?
- No. All comparison runs entirely in your browser. Your data never leaves your device.