Line Sorter & Deduper

Sort, dedupe, and filter lines with regex include/exclude.

Support
Works Offline
Privacy First
No Login
No API

Input

7 lines

Output

5 lines

In
7
Out
5

About the Line Sorter & Deduper

Clean up lists of lines: sort alphabetically or by length, remove duplicates (optionally case-insensitive), trim whitespace, drop empty lines, and filter with include/exclude regular expressions.

Examples

Dedupe list

apple
banana
apple

Output

apple
banana

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser