Diff checker
Tool processing runs in your browser — your pastes/files are not uploaded to our servers for processing. Ads (if shown) load separately and do not receive your tool inputs.Advertising · Details
Quick answer
Paste two texts to see which lines were added, removed, or unchanged — a text diff that runs privately in your browser.
Diff
Embed this tool
Paste this iframe on your site. Includes a backlink to Diff Checker. Opens chrome-less with ?embed=1.
Diff checker, text diff, or file compare?
These are the same idea under different names, which is worth saying plainly because the wording changes depending on where you met it. A diff checker ortext compare tool shows what changed between two versions.Diff is the older Unix name for the same operation, and it is where the- and + line markers above come from. Version-control tools call the saved result a patch or a changeset.
What differs is not the concept but the granularity. This page compares line by line. Word-level and character-level comparison exists too and is better for prose, where a single edited word would otherwise mark the whole paragraph as changed.
Comparing code, JSON, or config
A plain text comparison treats formatting as content, so it is only honest about files whose formatting already matches. Two JSON documents holding identical data will look completely different here if one is minified and the other is indented — every line reads as changed even though nothing meaningful did.
For that case use the JSON diff, which compares structure instead of characters, or run both sides through the JSON formatter first so the comparison starts from the same shape. For YAML and config files, normalising indentation before comparing saves the same confusion.
Frequently asked questions
How do I compare two texts?
Paste the original on the left and the changed version on the right. Lines prefixed with - were removed, + were added, and unchanged lines stay unmarked.
Is this a diff checker for JSON?
It will compare JSON as plain text, which is fine when the formatting already matches. If the two documents are formatted differently, a text comparison reports every reflowed line as a change. Use the JSON diff for that — it compares structure rather than characters.
Is this a full Myers/LCS diff?
No. It is a simple line-aligned comparison by index — great for quick checks, not a patch-file generator for large codebases.
Does order of lines matter?
Yes. Each line is compared to the same line number in the other pane. Reordered blocks may show as removals plus additions.
Is my input uploaded?
No. TryDevSnip diffs text in your browser. Nothing you paste is uploaded to our servers for processing.