Sort & Dedupe Lines

Paste any list — a column of names, a log of IPs, the lines of a CSV, a stack of duplicates — and get it back sorted, deduplicated, or both. Sort A → Z, Z → A, by numeric value, by length, reversed, or shuffled. Locale-aware sort via Intl.Collator, Fisher–Yates shuffle, optional trim and skip-blank. Everything stays in this tab.

Sort mode — sort alphabetically, ascending
Options

How sorting and dedupe work
  • Sort uses the browser's built-in Intl.Collator so accented characters (é, ñ) and non-Latin scripts (, ) sort in their natural order.
  • Numeric parses each line as a number; non-numeric lines sort after numbers, alphabetically.
  • Length sorts by character count; ties break alphabetically so the order is stable.
  • Shuffle is a Fisher–Yates permutation — every permutation is equally likely.
  • Dedupe compares each line to the ones before it; the first occurrence wins. Case and whitespace toggles affect what counts as "the same".
  • Stats in the input header show input → output line counts. The status line under the output flags duplicates removed and blanks skipped.
  • Nothing leaves the browser. The whole tool runs on a 5 KB script and the list you paste never gets uploaded.