Diff Checker Online: Compare Text, Code, and Config Files Side by Side
The diff checker compares two pieces of text and shows exactly which lines differ. Paste the original (the 'before' version) into the left text box and the modified (the 'after' version) into the right; the tool runs an LCS-based diff and highlights every difference within milliseconds. Added lines appear green, removed lines red, changed lines show character-level highlighting on the substring that actually changed. A summary line at the top reports the count of added, removed and changed lines plus a similarity percentage. Use it for any plain-text comparison: source code, JSON config, YAML manifests, CSV exports, log files, Markdown drafts, plain prose. The tool handles UTF-8 input up to several megabytes per side without breaking. Most importantly: every byte of computation runs locally in your browser. Nothing is sent to a server, nothing is logged, nothing leaves your device — safe for proprietary code, internal documents and confidential data.