Sort Lines
Paste a list and reorder it instantly — alphabetically, numerically or by length — with options to remove duplicates and trim whitespace.
0 lines
0 lines
How the line sorter works
Everything re-sorts the moment you type or change an option — no button to press.
Paste your list
Drop in names, URLs, numbers, keywords — anything with one item per line.
Pick how to sort
Alphabetical A→Z or Z→A, true numeric order, or shortest-to-longest by length. Toggle case sensitivity, trim, and de-duplicate.
Copy or download
Grab the sorted list with Copy, or save it as a .txt file — nothing is ever sent anywhere.
About the sort options
Alphabetical ordering uses locale-aware comparison, so accented characters
sort naturally alongside their plain counterparts. Numeric sorting reads the
first number it finds on each line and orders by value — so 10 correctly comes
after 2, unlike plain text sorting. Lines without a number sink to the bottom.
By length orders lines from shortest to longest (or the reverse). Turn on Case-sensitive to make uppercase and lowercase sort separately; Trim whitespace strips leading and trailing spaces from every line; Remove duplicates keeps only the first occurrence of each line; and Drop blank lines discards empty rows.
This tool is handy for tidying lists, alphabetising glossaries, deduplicating exports, and cleaning up data before pasting it somewhere else.
Private by design. Your text never leaves your device. All sorting happens right here in your browser — nothing is uploaded or stored.
Frequently Asked Questions
What ways can I sort my lines? ▼
Does numeric sorting handle numbers correctly? ▼
10 correctly comes after 2 — unlike plain alphabetical sorting. Lines without a number sink to the bottom.