Text tool
Sort Lines
Sort lines alphabetically, by length, in reverse, or shuffle them randomly.
Free|No sign-up|Files stay on your device
If this tool helped, consider supporting the site so we can keep building free tools.
Support us/Ko-fiAbout Sort Lines
Sort any list alphabetically. Numbers are compared as numbers, so 2 comes before 10.
You can also sort by length, reverse the order or shuffle the lines randomly.
Great for
- ・Alphabetizing names and lists
- ・Organizing reading lists and playlists
- ・Randomizing presentation order
How to use
- 01Paste your text into the input box.
- 02Click the action you need.
- 03Copy or download the result — or send it back to the input to keep going.
Why use it
Private by design
Everything runs locally in your browser. Nothing passes through a server.
Instant
No software to download and no account to create.
Works everywhere
Desktop, phone, or tablet — any modern browser.
Free forever
No watermarks and no usage limits.
Frequently asked questions
Is there a size limit?
+
No fixed limit. Several megabytes of text are processed in about a second, depending on your device.
Is this tool free? Do I need an account?
+
It's completely free. There's no sign-up, no login and no usage limit.
Are my files and data safe?
+
Everything is processed inside your browser. Your files are never uploaded to our servers and disappear when you close the page.
Does it work on my phone?
+
Yes. The page is fully responsive and works in current versions of Chrome, Safari and Edge on iPhone, Android and tablets.
More tools
Count words, characters, lines and paragraphs in real time, with an estimated reading time. Handles mixed-language text.
Instantly convert text to UPPERCASE, lowercase, Title Case or Sentence case.
Paste a list and remove duplicate lines instantly, optionally ignoring blank lines and extra spaces.
Format, minify and validate JSON, with clear error messages when something's wrong.
Fix the extra line breaks you get when copying text from PDFs, with an option to keep paragraphs.
Paste a list and fairly draw winners using cryptographic randomness. You can also shuffle the list into random groups.
sort lines/alphabetical order tool/sort list alphabetically/shuffle list