All free tools

Text diff checker: compare two texts

Paste two versions of a document, code or configuration file to see every added, removed and edited line, with the changed words highlighted.

Runs in your browser. Both texts stay on your device and are never uploaded to EpiFive.

View

How to use it

  1. Paste the original text on the left (or top on a phone) and the changed text on the right.
  2. The comparison updates as you type. Removed lines are marked − in red, added lines + in green, and the changed words inside an edited line are highlighted.
  3. Choose Side by side to read both versions together, or Inline for a single column like a git diff.
  4. Tick Only changed lines to hide long unchanged stretches in big files.

What people compare

  • Two drafts of a contract, essay or blog post, to see exactly what an editor changed.
  • Configuration files (YAML, JSON, .env) before and after a deployment.
  • Code snippets, SQL queries and log output when something stopped working.
  • Word counter: Count words, characters, sentences and paragraphs, with reading and speaking time.
  • JSON formatter: Format, validate and minify JSON, with the line and column of any error.
  • YAML to JSON converter: Convert YAML to JSON and JSON to YAML, with line and column for errors and multi-document support.
  • Regex tester: Test JavaScript regular expressions with live match highlighting, capture groups and flags.
  • Case converter: Change text to UPPER CASE, lower case, Title Case or Sentence case in one tap.

Questions people ask

How does the diff checker decide what changed?

It uses the Myers diff algorithm, the same idea behind git diff, to find the smallest set of added and removed lines that turns the original into the changed text. Lines that were edited are paired up, and the words that differ inside them are highlighted.

What do ignore whitespace and ignore case do?

Ignore whitespace treats lines as equal when they differ only in spaces, tabs or indentation, which helps when code was reformatted. Ignore case treats “Total” and “total” as the same. Both only change the comparison; the text is shown as you pasted it.

Why are some lines shown as removed and added instead of changed?

When a block of lines is replaced, the checker pairs removed and added lines in order and highlights words within each pair. If the two blocks have different lengths, the extra lines appear as plain additions or removals.

Is there a size limit?

Up to 20,000 lines in total. Very different texts are compared up to a limit and the rest is shown as one replaced block, so a phone stays responsive. For whole repositories use git diff or a desktop diff tool.

Is my text uploaded or saved?

No. Both texts are compared in your browser. Nothing is sent to EpiFive or stored, so it is safe for contracts, configuration files and code.