Skip to tool
Text

Text Diff

Compare two texts by line, word, or character in a local worker.

Web Worker Local onlyTools
Left0 characters
Right0 characters
Diff result

Enter both sides to compare.

Ready

Review evidence table · A and B stay immutable

A diff is an alignment under a declared policy.

Red and green are not meaning by themselves. Granularity chooses the tokens; ignore switches change the evidence; repeated text can admit more than one equally minimal alignment.

VERSION A · IMMUTABLE

01 timeout = 30

02 region = us-east

03 retries = 2

VERSION B · IMMUTABLE

01 timeout = 45

02 region = eu-west

03 retries = 2

04 audit = true

Alignment ribbon

=01timeout =
-30removed
+45added
=02region =
-us-eastremoved
+eu-westadded
+audit = truenew line

GRANULARITY LENSES

LINEdeployment review

structure and complete lines

WORDprose revision

terms inside stable context

CHARpunctuation incident

small or invisible changes

Comparison policy receipt

CaseOFFA ≠ a
WhitespaceOFFtab ≠ spaces
NewlinesSTRUCTURALLF and final newline witnessed
RuntimeWORKERmain UI remains responsive

Invisible-change booth

CRLF → LF␍␊ → ␊
tab → spaces⇥ → ····
NBSP → space⍽ → ·
final newline removed␊ → ∅
NFC → NFDé → e + ◌́

Review lens dispatch

Configuration deploylineignored indentation may be semantic
Prose editwordpunctuation can disappear in a broad view
Snapshot outputline + invisible boothline endings create noisy runs
Localization parityword / characternormalization and placeholders need separate checks

Semantic boundary

Text alignment is not program understanding.

This tool does not parse ASTs, understand renamed symbols, classify moved blocks, merge competing edits, preserve rich-document layout, or prove that a change is safe.

Direct answer

What is Text Diff?

Compare two texts by line, word, or character in a browser Worker, expose whitespace and line endings, and record every ignore policy used.

What can it do?

  • Line
  • Word
  • Character

How to use Text Diff

  1. 01

    Choose a task

    Select Line, Word, and Character in the workspace.

  2. 02

    Provide the input

    Paste the original text. The input stays in the browser processing path.

  3. 03

    Review the result

    Run the tool, inspect its result and diagnostics, then copy or download the output when the page offers that action.

Frequently asked questions

What is Text Diff?
Compare two texts by line, word, or character in a browser Worker, expose whitespace and line endings, and record every ignore policy used.
What can Text Diff do?
Text Diff supports Line, Word, and Character. Each mode is available directly in the page workspace.
Does Text Diff upload my data?
Text Diff processes your input locally in the browser. DevSexy does not add an upload, account, or server-processing step to this workflow.
DevSexy processes tool input locally. No paste tracking, accounts, or upload step.