Center Text
Centre every line within a width using real spaces.
Compare two blocks of text and highlight every added or removed line.
Paste text into both boxes to compare them.
The Text Diff Checker compares two blocks of text and highlights every line that was added or removed. It runs the same longest-common-subsequence comparison that version control uses, so unchanged lines stay aligned and only genuine edits are marked.
Paste an original on the left and a revision on the right to see exactly what changed. The comparison runs a longest-common-subsequence diff — the same approach version control uses — so unchanged lines stay aligned and only real edits are marked.
Added lines are highlighted in green, removed lines in red, and a summary counts the additions and deletions. It is useful for checking what an editor changed in a draft, comparing two versions of a config file, or confirming that a copy-paste actually matched the source.
A longest-common-subsequence algorithm keeps matching lines aligned, so one inserted line does not mark everything below it as changed.
Additions are green and deletions are red, which makes the shape of an edit obvious at a glance.
The number of added and removed lines is counted for you, so you can tell a light copy-edit from a rewrite.
Drafts, code, JSON, config files or CSV rows all compare the same way.
Both versions are compared in your browser, so contracts and unpublished drafts never leave your device.
Put the first version of your text or code into the left box.
Put the version you want to compare against into the right box.
Additions are green, deletions are red, and the counts at the top summarise the change.
The diff works line by line, which is how code and structured documents are usually reviewed. Reformatting a paragraph onto one line will therefore show as one change rather than many.
Yes. Whitespace and indentation are preserved exactly, so code diffs are accurate. You can optionally ignore case and leading whitespace.
No. The comparison is calculated in your browser, so confidential drafts and internal code stay on your machine.
What people who use the Text Diff Checker think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Text Diff Checker. It takes half a minute and no account.
Write the first reviewCentre every line within a width using real spaces.
Work out what language a piece of text is written in.
Strip HTML markup and get clean, readable plain text.
Turn escaped strings from code back into readable text.
Raise text above the line for notes, powers and units.
Replace every match in a block of text, with regex when you need it.
Repeat any text as many times as you need, with your own separator.
Delete web links from text, or replace them with a placeholder.