Web Tools
Line Sorter & Deduplicator
Sort, shuffle, deduplicate, and filter lines of text. 8 sort modes including alphabetical, numeric, by length, reverse, and shuffle. Runs entirely in your browser — your data never leaves your machine.
text sort deduplicate filter lines developer-tools
Published May 28, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Paste or type lines of text, choose a sort mode, and toggle options like deduplication, empty line removal, and whitespace trimming. The output updates in real-time.
Sort Modes
| Mode | Description |
|---|---|
| A → Z | Alphabetical ascending |
| Z → A | Alphabetical descending |
| Shortest First | Sort by line length (ascending) |
| Longest First | Sort by line length (descending) |
| Numeric ↑ | Sort by first number found (ascending) |
| Numeric ↓ | Sort by first number found (descending) |
| Reverse Order | Reverse the original line order |
| Shuffle | Randomly shuffle lines |
Features
- 8 sort modes with instant output
- Deduplication — remove duplicate lines (case-sensitive or insensitive)
- Empty line removal — strip blank lines
- Whitespace trimming — trim leading/trailing spaces from each line
- Line statistics — total, unique, empty, and duplicate counts
- Case sensitivity — toggle for sorting and deduplication
- Private: runs entirely in the browser — no data transmitted