All Tools
100% Browser-Local Processing · Files are never uploaded to any server (0 Bytes Uploaded)

Text Diff & Deduplicator

Compare two text snippets side-by-side to highlight additions and removals, or deduplicate, trim, and sort line lists locally in your browser.

+0 added-0 removed1 unchanged0 ms

Enter text in both boxes to see line-by-line differences immediately.

How to Use

  1. 1

    Pick "Text Diff" to compare two texts or "Deduplicate & Sort Lines" to clean up a list.

  2. 2

    Paste your text and toggle options such as ignore whitespace, case-insensitive matching, or sorting.

  3. 3

    Inspect highlighted changes or cleaned output in real time, then copy or download as a .txt file.

Frequently Asked Questions

Is it safe to compare private code, logs, or .env files here?+

Yes. Everything runs locally in your browser memory—nothing is logged, stored, or sent to any server.

Can I remove duplicates while preserving original line order?+

Yes. The default sort mode keeps the original order of first occurrence while removing subsequent duplicates.

Can I show only the lines that changed in Diff mode?+

Yes. Check "Changes only" to hide unchanged lines and focus exclusively on additions and deletions.