DengWoLai DengWoLai
Text · DengWoLai

Text Diff — Compare Two Texts Side by Side

Text diff compares two texts line by line and marks additions, deletions and changes. It runs in your browser, which matters because the texts are usually unreleased copy or private configuration.

Runs locally · files stay on device · works offline

How it works in 4 steps

  1. 1

    Pick or drop

    Select or drag files into the card — loaded directly into local memory.

  2. 2

    Set options

    Adjust target KB, format, dimensions or filters with instant feedback.

  3. 3

    Process locally

    Canvas, WebAssembly, or Web Crypto completes the job on your device.

  4. 4

    Save result

    Download directly; close the tab to clear everything from memory.

When to use this

Scenario Recommended Why
Two config files must be compared Text Diff Line-level highlights show exactly what changed
Comparing an edited draft to the original Text Diff See inserted and removed wording
Whitespace differences are noise Text Diff Toggle ignore-whitespace to focus on content

Privacy & Offline Guarantee

Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.

FAQ

Can it ignore whitespace?

Yes. Ignoring whitespace is usually the right choice for code, where re-indentation creates hundreds of false differences.

Does it compare characters or lines?

Lines by default, which matches how diffs are read. Character-level comparison is mostly useful for single short strings.

Is my text uploaded?

No — comparison runs locally in your browser.

Something failed, or you wish this tool also did something else? Tell me →

Related Tools

Text
Case Converter — camelCase, snake_case, kebab-case
Convert between camelCase, snake_case and kebab-case.
Local only →
Text
Chinese & English Word and Character Counter
Count Chinese characters and English words separately.
Local only →
Text
Remove Duplicate Lines
Remove duplicate lines, ignoring case or whitespace.
Local only →
Text
Sort Lines of Text
Sort lines alphabetically, numerically or by length.
Local only →

Ready to process your files privately?

Back to tool ↑