Natural number order
file10, file2, file1 → file1, file2, file10. Without Numbers by value: file1, file10, file2.
Sort lines alphabetically, in reverse, by length or with numbers in natural order.
Runs in your browser — nothing you enter is sent to a server.
Paste one item per line and choose an order. Alphabetical sorting uses your browser's language rules, so accented letters sort next to their plain letter (é with e) instead of after z, and — with Numbers by value — “Item 2” comes before “Item 10”.
The sort is stable: lines that compare as equal keep their original order. Length sorting counts characters as you see them, so an emoji counts as one.
file10, file2, file1 → file1, file2, file10. Without Numbers by value: file1, file10, file2.
zebra, éclair, apple → apple, éclair, zebra
b, a, B, A → A, a, B, b (capitals first within each letter)
ASCII order puts all capitals before all lowercase letters and accented letters after z, which isn't how people alphabetize. This tool uses language-aware ordering instead.
Not here — this tool only sorts. Reverse current order flips the list as it is.
Put each item on its own line first (replace commas with line breaks), sort, then join them again if you need to.
Delete repeated lines from a list, keeping the first occurrence and the original order.
Text Tools
Reverse text backwards, reverse the order of words or lines, or flip each word — emoji-safe.
Text Tools
Remove extra spaces, tabs and blank lines, fix non-breaking spaces and join broken lines from PDFs.
Text Tools
Also in Tools for Writers.