Compare two versions of configs, JSON, SQL, or prose line-by-line locally using LCS diffing.
Paste original text on the left and modified text on the right, then click Compare. Optional toggles let you ignore trailing spaces or blank lines.
| Prefix | Meaning | Color |
|---|---|---|
| + (plus) | Line added in modified text | Green |
| - (minus) | Line removed from original text | Red |
| (space) | Unchanged context line | Neutral |
It runs a Longest Common Subsequence (LCS) line diff directly in JavaScript to find minimal additions and deletions.
No, comparison runs 100% offline in your browser.
Yes — format both JSON payloads with our JSON Formatter first, then paste them here for a clean line diff.
Beautify, validate, sort keys, and minify JSON locally in your browser.
Safely decode JWT (JSON Web Token) headers, claims, and human-readable exp/iat dates locally in your browser.
Encode and decode UTF-8 text using Base64, Base64URL, or URL percent-encoding locally in your browser.
Test and debug JavaScript regular expressions with real-time match highlighting, capture group extraction, and developer presets.