JSON Diff Tool
Compare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.
Open toolCompare two texts or code snippets line by line, word by word or character by character, side by side or as a unified diff.
Paste an original and a changed version to see exactly what was added, removed or changed. Line mode pairs changed lines side by side and highlights the words that differ inside them; word and character modes show the edits inline, which suits prose, short strings and configuration values. Options ignore letter case, trailing whitespace or all whitespace, and blank lines.
Code mode (also at /tools/diff-checker?mode=code) is tuned for snippets: monospace, line numbers and indentation-insensitive comparison by default, so re-indented code doesn’t drown out real changes. Every comparison can be copied or downloaded as a standard unified .diff that git apply and patch understand. The texts are compared in your browser with the Myers algorithm used by git. Everything runs in your browser. Your data is never uploaded, logged or stored.
Your code or text
Plain text, Source code, Unified diff output
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
Paste the original on the left and the changed version on the right.
Choose lines, words or characters, and any whitespace or case options.
Read the side-by-side view, or switch to the unified diff to copy or download it.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Choose lines, words or characters, and any whitespace or case options.
Read the side-by-side view, or switch to the unified diff to copy or download it.
Compare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.
Open toolRemove extra spaces, empty lines, HTML tags, smart quotes and invisible characters in one click.
Open toolCount words, characters, sentences and paragraphs, with reading time and keyword density.
Open toolPreview a git diff or patch file as a readable unified or side-by-side view, with per-file added and removed line counts.
Open tool