- What is a diff checker?
- A diff checker is a tool that compares two pieces of text (code, documents, configs, or any strings) and highlights the differences — showing what was added, removed, or changed. It's the same type of tool built into Git, code review platforms, and text editors, but works standalone in your browser for any text you paste.
- Is this diff checker free?
- Yes. You can compare pasted text directly in the browser and use the side-by-side, inline, unified-style, copy, and download options without creating an account.
- Is my text private?
- Yes. This diff checker runs entirely in your browser using JavaScript. Your text is never uploaded to any server, never logged, and never stored. You can safely use it for proprietary code, legal contracts, medical records, or any sensitive content.
- How do I compare two text files?
- Paste the original text into the left panel and the modified text into the right panel. The diff updates automatically as you type. You can then switch between side-by-side, inline, or unified views, and toggle ignore whitespace or ignore case for cleaner results.
- What's the difference between side-by-side, inline, and unified views?
- Side-by-side shows original and modified in parallel columns — best for spatial comparison. Inline shows all changes sequentially with + and - markers — better for narrow screens. Unified shows a compact diff-style text view with --- and +++ headers.
- Does it work with code, JSON, or CSV?
- Yes. The diff checker works with any text content including source code (all languages), JSON, YAML, XML, CSV, SQL, logs, config files, and prose. It does line-level and character-level comparison on any text.
- What is character-level highlighting?
- When a line is modified, character-level highlighting shows exactly which characters changed inside that line — not just the entire line in red/green. For example, if you change 'console.log(a)' to 'console.log(b)', only the 'a' → 'b' change is highlighted, making small changes instantly visible. This is enabled by default.
- What does 'Ignore whitespace' do?
- Enabling 'Ignore whitespace' treats all runs of spaces, tabs, and line endings as equivalent. This is essential when comparing code that's been reformatted by Prettier, ESLint, or Black — otherwise you'd see every line flagged as changed even though the content is identical.
- Can I download the diff output?
- Yes. Click 'Download' to save the generated diff text as a .diff file. You can also click 'Copy Diff' to copy the same output to your clipboard.
- Is there a file size limit?
- There is no separate upload limit because you paste text into the page, but performance depends on browser memory, device speed, and text size. Very large files are better compared with Git, a desktop editor, or a command-line diff tool.
- Can I use this to compare code in a pull request workflow?
- Yes. Paste the before and after versions of your code to see a text diff with character-level highlighting. Use 'Ignore whitespace' to filter out reformatting noise, then copy or download the diff text for review.
- Does it support Unicode and emojis?
- Yes. The LCS diff algorithm works at the character level with full Unicode support, including multi-byte characters, emojis, Chinese, Arabic, Hindi, and other scripts. Mixed-direction text (LTR + RTL) also renders correctly.