All Tools
100% Browser-Local · 0 KB Uploaded

Text Diff & Deduplicator

Inline Diff · Dedupe

Line + inline word-level diff highlights · Remove duplicate lines & sort

+0 added-0 removed1 unchanged0 ms

Enter text in both boxes to highlight line and inline word changes immediately.


Compare two text snippets with line-level and inline word-level change highlights, or deduplicate, trim, and sort line lists locally in your browser.

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 ignore whitespace, case-insensitive matching, changes-only view, or sorting.

  3. 3

    Inspect inline word-level highlights or cleaned output in real time, then copy or download as .txt.

Frequently Asked Questions

Does it highlight specific changed words inside a modified line?+

Yes. Adjacent removed/added lines are paired for a second-pass word/token LCS diff so subtle edits stand out immediately.

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.

Two-Pass Line & Inline Word Diff Engine

LocalKit runs an in-memory Longest Common Subsequence (LCS) line diff and then pairs modified lines for token-level inline highlighting—making single-digit config edits or contract clause tweaks effortless to spot without uploading secrets.

  • Enable "Changes only" to collapse matching lines in large config files while keeping inline word highlights.
  • Enable "Trim whitespace" before deduplicating copied lists to catch trailing spaces.

Related Practical Guides

All Guides →