Text Tools

Text Diff Checker

Compare two texts and highlight additions and removals by line or word. Inspect spacing, ignore letter case when needed, and save a readable report locally.

Your content stays on your device Free, with no account
See what changed Compared on your device

Up to 100,000 text units and 2,000 comparison segments per side. Word segments include punctuation and whitespace.

Ready to compare your text.

A FEW SIMPLE STEPS

How to use Text Diff Checker

  1. Paste original text on the left and revised text on the right.
  2. Choose Lines or Words and spacing. Optionally ignore letter case. Select Compare text.
  3. Review additions and removals. Line mode shows original/revised line numbers and explicit line-ending markers.
  4. Copy or download a readable TXT report. Reports include the compared text. Editing an input or option clears the previous result.
PRIVATE BY DESIGN

Why use this tool?

Comparison runs entirely in your browser, without uploads, an account or browser storage. Both inputs stay available while you review changes. User content is rendered as text, including any markup or code.

Tool inputs stay in your browser. Only your theme preference is saved on this device.

A few things worth knowing

What do the highlights mean?

Additions are marked with plus signs or underlines; removals use minus signs or strike-through. Unmarked text is unchanged under the selected comparison rules. A replacement appears as a removal followed by an addition. Repeated content may allow more than one equally valid alignment.

How does word comparison handle spaces?

Word mode compares word segments, punctuation and whitespace. Spacing changes are kept rather than silently ignored. Modern browsers use Unicode word segmentation; older browsers use a simpler rule. Combined results preserve the segment order, while highlights show which side each segment belongs to.

What happens when I ignore case?

Segments are compared using Unicode lowercase mappings. Spaces, punctuation and line endings still matter. A match with case ignored is reported separately from identical inputs. Unchanged segments display the revised spelling. Locale-specific casing and multi-letter case equivalence are not inferred.

Are line endings compared?

Line mode distinguishes a final line break from no final line break. A visible arrow marks a line break, and a no-line-break label marks a line without one. CRLF and CR endings are normalized to LF, matching browser textarea behavior.

What are the size limits?

Each side can contain up to 100,000 UTF-16 text units and 2,000 comparison segments. In line mode, segments are lines. In word mode, words, punctuation and whitespace each contribute segments. If a limit is exceeded, your inputs remain unchanged. Compare a smaller section or use line mode.

Can the report be applied as a patch?

No. It is a readable TXT comparison with added, removed and unchanged segments. JSON-style escapes make line breaks and tabs visible. It includes your text and is not a unified diff, patch file or word-processing document.