I inbrowser.sh

Text Diff Viewer

Compare two pieces of text and see the differences instantly.

100% client-side No upload Free · no signup

Quick answer

Text Diff runs locally in your browser for quick developer formatting, conversion or inspection work. Text Diff highlights insertions and deletions between two text snippets. Useful for spotting subtle changes in config files, prose, or code.

The quick brown foxcat jumps over the lazysleepy dog.!

What is Text Diff?

Text Diff highlights insertions and deletions between two text snippets. Useful for spotting subtle changes in config files, prose, or code.

How to use

  1. Paste the original on the left.
  2. Paste the new version on the right.
  3. Differences highlight in green (added) and red (removed).

Example

Use this sample to confirm what Text Diff does before pasting your own data.

Input
A: "The quick brown fox", B: "The quick red fox"
Output
"brown" highlighted red (removed), "red" highlighted green (added).

When to use it

Use Text Diff for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.

Frequently asked questions

Is it line-based or character-based?

Character-based with word grouping for readable output.

Is my text uploaded?

No. The diff runs in your browser.