Sort Text Lines
Sort lines A to Z, Z to A, reverse or shuffle them.
Also called: sort lines alphabetically, alphabetize list.
TEXT & WRITING
Runs locally in your browserSort Text Lines
Sort lines A to Z, Z to A, reverse or shuffle them.
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.
Watch: how to use the Sort Text Lines (14 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Sort Text Lines
Sort lines A to Z, Z to A or shortest first, reverse their order, or shuffle them randomly.
How to use the Sort Text Lines
- Enter your textType or paste your text.
- Pick the optionsmethod (the defaults suit most uses).
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
The result the Sort Text Lines gives for a short sample note that contains a date, an e-mail address, a web address, a phone number and prices (produced by the tool itself).
- Method
- A to Z
Result:
Café Olé opened on 12 March 2025 in Lahore. Call +92 300 1234567 to order; delivery is free over 1500 rupees. Email hello@example.com or visit https://example.com/menu for the menu. The café serves 3 kinds of coffee and 2 kinds of tea.
Good to know
- What you need
- You type or choose: Input text
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
Does it sort numbers correctly?
For numbers, use Number Sorter & Statistics.
Can I remove duplicates too?
Use Remove Duplicate Lines.
More tools in Text & Writing
- Word & Character Counter
- Special Characters & Symbols (copy & paste)
- Text Cleaner
- Text Compare (Diff)
- Text Repeater
- Urdu Typing Pad (phonetic keyboard)
- URL Extractor
- Voice Typing (speak to type, Urdu & English)
- Word Frequency
- Writing Style Checker (hard sentences, adverbs, passive)
- Add Line Numbers
- AI Translator (on your device)