Alphabetize a list / sort lines alphabetically online
Alphabetize your list or sort lines alphabetically — A→Z, Z→A, by length, or naturally numeric. Dedupe, trim whitespace, flip case sensitivity. Runs entirely in your browser — nothing leaves the page.
Put any list in alphabetical order — without the signup.
Paste any list — names, URLs, error logs, exported tags, ingredients. Pick a rule. Get them back sorted, optionally deduplicated and trimmed. You don't have to upload anything.
The whole thing is an Intl.Collator call inside your browser. We don't see your text — and there's no log of what you ran. Bookmark the page, tell a friend, that's all.
Paste your text
Drop in any list — names, URLs, exported tags, log lines. The tool reads one line at a time. Tabs, commas, semicolons are preserved as-is inside each line.
Pick a sort rule
Toggle A→Z, Z→A, by length, or natural-numeric. Flip on Dedupe to remove repeats, Trim to clean whitespace, Case-sensitive when capitalization matters.
Copy the result
Hit Copy ↗ for the clipboard, or Download .txt for a file. Nothing is sent anywhere — your text never leaves the browser.
How many lines can this handle?
Tested up to 1,000,000 lines in Chrome — the browser is the only limit because nothing is uploaded. For comfort, 100k lines runs in under 200ms on a 2020 MacBook.
How does "Natural" sort differ from A→Z?
Natural treats embedded numbers as numbers, so "file2" comes before "file10". A→Z treats every character as text, which would put "file10" before "file2" because "1" < "2".
Does Dedupe care about case?
It follows the Case-sensitive toggle. With it off, "Apple" and "apple" are the same row. With it on, both are kept.
What about non-English text?
Sorting uses Intl.Collator with your system locale, so Ä, ñ, å, 中文 sort by your collation rules. If you need to pin a specific locale, drop us a line — we may add a picker.
Can I sort by multiple keys (primary + tiebreaker)?
Not in one pass — the tool sorts by a single mode at a time. If you need a primary + secondary key (e.g. sort by length, then alphabetically within the same length), run the tool twice: stable sort means the second pass preserves the first pass's order within equal keys. Tell us via email if you hit this a lot — we may add a "Then by" field.
What happens if my list is huge — will I lose part of the result?
The full sorted result is always intact. To keep the page responsive, the preview caps at the first 5,000 lines once your result gets big — a banner tells you the real total. Copy and Download always operate on the full list. One caveat: above ~100 MB, Chrome's Copy may silently fail, so use Download for results that large.
Will this put my list in alphabetical order?
Yes — that's the default A→Z mode. Use Z→A for reverse alphabetical order, Length for shortest-first, or Natural for embedded numbers (so "file2" comes before "file10"). All four modes use your system locale for collation, so accented characters and non-Latin scripts sort by your language's rules.