All tools · 📝 Text

🗂️ Sort & Dedupe Lines

Paste any text — we sort lines alphabetically (A-Z or Z-A), numerically, randomize, dedupe, or remove empty lines. Useful for cleaning up lists, processing log output, or generating clean CSV columns.

Loading tool…

Examples

Dedupe email list
Inputa@x.com b@x.com a@x.com c@x.com
Outputa@x.com b@x.com c@x.com
Numeric sort
Input10 2 33 4
Output2 4 10 33

A-Z sort would give 10, 2, 33, 4 — use numeric for numbers.

Frequently asked questions

Case-sensitive or insensitive?

Toggleable. Insensitive (default) groups "Apple" and "apple" as duplicates; sensitive treats them as distinct.

Why is my numeric sort weird?

You may have used alphabetical sort — that compares character-by-character so "10" comes before "2". Switch to numeric mode.

How big a list can it handle?

Tens of thousands of lines work fine. Hundreds of thousands may slow your browser; consider sort | uniq on the command line.

About this tool

Sort & Dedupe Lines runs entirely in your browser using standard Web APIs. No data is sent to any server. The source for this tool is in our public GitHub repository.

Related tools

← All 96 tools

Why this tool

vs typical free web-tool sites

1vwTypical free site
PriceFreeFree
Signup requiredNoOften (for premium features)
Ads inside the toolNoYes (banner + video)
Data sent to serverNo (browser-only)Yes (inputs analyzed for ads)
Total tools96Often <20 or scattered across sites
Bookmarkable URL per toolYesMixed
Loads in under 1sYes (static)Often slow (ad tracking)
MultilingualEN / ES / PT / FR / DEUsually EN only
Open sourceYesNo