Frequently Asked Questions
How do I compare two blocks of code or text?
Paste your original version into the left panel and the modified version into the right panel (or use Upload for either). The diff recomputes automatically as you type, with a short debounce, and shows additions, removals, and changes in your chosen view mode — Side-by-Side or Unified Inline.
Can I upload files instead of pasting?
Yes. Click Upload on either panel to pick a file — it's read directly as text using your browser's own file API, with no upload to a server. There's no file-type restriction, so make sure you're selecting a genuine text/code file; a binary file will be read as garbled text rather than being rejected.
What's the difference between Side-by-Side and Unified view?
Side-by-Side shows the original and modified text in two synchronized panels — good for a classic two-column comparison. Unified Inline stacks both versions into a single scrollable document with removed lines and added lines shown in sequence — often easier for scanning a long linear change history in one pass.
What does "Ignore Whitespace" actually do?
More than you might expect. Lines that differ only by leading or trailing whitespace — like
indentation — are already treated as identical before you check this box; that's the default
comparison behavior. Checking "Ignore Whitespace" goes further: it strips all internal whitespace too,
so "a b" and "ab" would then be read as the same line.
What does "Ignore Empty Lines" do to the line numbers?
It removes blank lines from both texts before computing the diff, and the line numbers shown afterward reflect positions in that filtered list — not the real line numbers from your original file. If you need to locate a change in the actual source file, count blank lines back in rather than trusting the displayed number directly.
Does this highlight the exact word or character that changed in a line?
No — the diff works at the line level only. A changed line is shown as the full old line in red next to the full new line in green (or stacked, in Unified view), not as a highlight of the specific characters that differ within it. For long, similar-looking lines, you'll need to visually scan both versions.
What counts as a "Changed" line vs. a separate Added/Removed line?
When a removed line is immediately followed by an added line in the computed edit script, the pair is counted as one "Changed" line instead of one Added plus one Removed. It's a positional pairing, not a semantic judgment that the two lines are "the same line, modified" — it just reflects that they sit next to each other in the diff.
Does this run in my browser, and does it work offline?
Yes. The entire diff — including files loaded via Upload — is computed with your browser's own JavaScript. Nothing is uploaded to a server, nothing is logged, and the tool keeps working with no internet connection once the page has loaded. Free, with no account or signup.
Does the syntax coloring work for every programming language?
Not really — it's one generic pass that colors comments, HTML-style tags, quoted strings, a short list of
common keywords (mostly JavaScript/C-like: function, if, else, class, and similar), and numbers.
It's a readability aid across many C-like and markup languages, not a real per-language grammar — a
keyword specific to another language, like Python's def, won't be recognized.
Is there a file size or type limit for uploads?
No hard limit or type check in the tool itself — any file you select is read as text. Very large files are bounded only by your browser's own memory and rendering performance, since there's no server doing the work. There's no restriction preventing you from selecting a non-text file, so pick text/code files deliberately.
Can I navigate directly to each change?
Yes — the Changes sidebar lists every chunk (added, removed, or changed) in order. Click any entry and the view smooth-scrolls to that exact spot with a brief highlight flash, which is faster than manually scrolling through a long diff to find each difference.
Is it free, and are there limits?
Yes, completely free — no payment, no signup, no account, and no usage caps. Because everything runs in your browser there's nothing to meter. The practical limits are the ones described above: line-level diffing only, and performance bounded by your own device on very large inputs.
Still have questions?
If you can't find the answer you're looking for, feel free to contact our support team.