← Back to all tools

TOOL · 59 · Data & Utility

Line Sort & Dedupe

Sort, deduplicate, trim and reverse lines of text — clean any list in one paste.

In short
Line Sort & Dedupe cleans any list of lines — sort A→Z, Z→A or by length, remove duplicates, trim whitespace and drop blanks in one paste.

Processed 100% in your browser — your files never leave your device.

Input0 lines
Output0 lines

How it works

  1. Step · 01

    Paste your list of lines into the input box.

  2. Step · 02

    Pick sorting order and whether to remove duplicates, trim whitespace or drop blanks.

  3. Step · 03

    Copy the cleaned result or download it as a .txt file — all processed in your browser.

Related tools

Frequently asked questions

Is the deduplication case-sensitive?
Yes by default. Turn on 'Case-insensitive' to treat Apple and apple as the same line.
Does it keep the original order if I only dedupe?
Yes. Set Sort to 'Keep original order' and only duplicates and blanks are removed.
Are my files uploaded to a server?
No. Files are processed directly in your browser using JavaScript and WebAssembly. Nothing is uploaded to our servers, so your documents never leave your device.
Does it work on mobile?
Yes. The tools run in any modern browser on desktop, tablet, or mobile (Chrome, Edge, Safari, Firefox). Very large files may be slower on low-end phones.