Sort Lines
Paste a list and sort it alphabetically, by number, by length or randomly. The result updates as you type.
Key facts
- Privacy
- Runs in your browser: your files and text are never uploaded
How to sort a list
Paste your list and choose an order. A → Z sorts alphabetically using your language’s rules, Natural sorts numbers by value, and Shuffle puts lines in random order. Combine sorting with removing duplicates and empty lines in one step.
Frequently asked questions
What is natural sort?
Natural sort orders numbers by value, so “item 2” comes before “item 10”. Plain alphabetical sorting would put “item 10” first because “1” comes before “2”.
Does it handle accents and other languages?
Yes. Sorting uses your browser’s language-aware rules, so “é” sorts next to “e” and not after “z”.
How random is the shuffle?
The shuffle uses your browser’s cryptographic random generator with the Fisher–Yates method, so every order is equally likely.
Related tools
- Case ConverterUPPERCASE, lowercase, Title Case, Sentence case
- Find and ReplaceBulk replace text, with optional regex
- Markdown PreviewLive preview and export to HTML
- Morse Code TranslatorText to Morse code and back, with sound and light
- Text CompareHighlight differences between two texts
- Remove Duplicate LinesClean lists and keep unique lines
- URL Slug GeneratorTurn titles into clean, SEO-friendly slugs
- Typing TestCheck your typing speed in WPM and accuracy