1. Home
  2. Developer tools
  3. Diff Checker

Diff Checker

Paste an original and a changed version to see exactly what changed, by line, word or character.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Diff Checker

  1. Paste the original text.
  2. Paste the changed text.
  3. Review the highlighted changes.

Features

  • Line, word or character mode
  • Ignore whitespace and case
  • Added and removed counts

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Diff Checker is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Guide

Comparing two texts and finding every change

“What changed?” comes up constantly: between two versions of a contract, the config file that works and the one that doesn’t, a draft and the edited article, yesterday’s export and today’s. Reading both side by side misses things. A diff checker marks every addition and removal, so nothing slips through.

Comparing texts

  1. Paste the older version into Original and the newer one into Changed.
  2. Choose how to compare: Lines, Words or Characters.
  3. Read the highlighted result: added text and removed text are marked in different colors.
  4. Check the summary: the number of added and removed units, and whether the texts are Identical or Different.

Both texts and your settings are remembered, so you can come back to a comparison.

Lines, words or characters?

Mode Best for Shows
Lines Code, configuration, CSV, logs Which lines were added or removed
Words Contracts, articles, emails, essays Exactly which words changed within sentences
Characters IDs, numbers, URLs, typos The single character that differs

A changed word in a long paragraph is a whole changed line in Lines mode, but a precise one-word edit in Words mode.

Ignoring noise

  • Ignore case: “Total” and “total” count as the same, useful for SQL, headings or data where capitalization doesn’t matter.
  • Ignore whitespace: extra spaces, tabs and indentation changes are skipped, so re-indented code or reflowed text shows only real edits.

If lines that look identical still show as changed, there are invisible differences: trailing spaces, tabs versus spaces, Windows versus Unix line endings, or non-breaking spaces from a word processor. Ignoring whitespace or comparing by characters reveals them.

Preparing data for a clean diff

  • JSON: format both documents with the JSON Formatter using the same indentation and Sort keys, so key order doesn’t create false differences.
  • SQL: format both queries with the SQL Formatter first.
  • Lists: sort both lists the same way, or remove duplicates with Remove Duplicate Lines, before comparing.
  • Copied web or Word text: run it through the Text Cleaner to normalize spaces and quotes.

Everyday uses

  • Contracts and policies: see exactly which clauses changed between versions before signing.
  • Editing: compare your draft with an editor’s version to learn from the changes.
  • Configuration: find the one setting that differs between a working and a broken server.
  • Data checks: spot changed values between two exports.
  • Students and teachers: compare drafts of an assignment.

For PDFs, the Compare PDF tool extracts and compares the text of two documents directly.

Privacy

The comparison runs in your browser. Nothing is uploaded, so confidential documents, code and customer data stay on your device.

Who compares texts

  • Developers compare configuration files, logs and API responses.
  • Editors and writers see changes between drafts.
  • Lawyers and contract managers compare clauses between versions.
  • Teachers compare student drafts or check text against a source.
  • Translators compare old and new source texts to update translations.

A complete example: what changed in a policy?

  1. Paste last year’s policy text as Original and this year’s as Changed.
  2. Compare by Words so edits inside sentences are visible.
  3. Turn on Ignore whitespace to hide formatting differences.
  4. Go through each addition and removal and list the substantive changes for your summary.

Tips

  • Compare by lines for code and data, by words for prose.
  • For PDFs, use Compare PDF directly.

Checked against the current version of the Diff Checker on .

Frequently asked questions

Should I compare by lines, words or characters?

Lines suit code, configuration and data files, where each line is a unit. Words suit prose such as contracts, articles and emails, because edits inside a sentence are shown precisely. Characters find tiny differences, like a changed digit in an ID or a typo.

Why does it show differences in lines that look the same?

Invisible characters differ - trailing spaces, tabs versus spaces, different line endings, or a non-breaking space. Turn on Ignore whitespace to hide those, or compare by characters to find them.

Can I compare two JSON files?

Yes. For the clearest result, format both with the JSON Formatter using the same indentation and Sort keys turned on, then paste them here and compare by lines.

Is my text uploaded?

No. The comparison runs in your browser, so you can compare confidential contracts, code and data.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.