Line Sorter
Sort lines A→Z, Z→A, or by character length — or reverse an entire text string. Paste one item per line and copy the sorted result instantly.
Read: Line Sorter Guide: Sort Lines & Reverse Text →
- Free to Use
- No Signup
- Privacy Friendly
How to sort lines
- 1
Paste your lines
Enter text with one item per row — names, paths, tags, or inventory SKUs.
- 2
Pick sort order
Choose A→Z, Z→A, or sort by line length for quick visual grouping.
- 3
Copy or reverse
Copy sorted output, or click Reverse text to flip the entire string character-by-character.
Sort options
- A → Z — locale-aware alphabetical ascending sort
- Z → A — reverse alphabetical order
- By length — shortest lines first, useful for tag clouds and filenames
- Reverse text — reverses all characters in the input string
Why Use This Tool?
Three Sort Modes
Alphabetical, reverse alpha, and length-based sorting.
Text Reversal
Flip entire strings character-by-character in one click.
Quick Cleanup
Organize lists before import or analysis.
Local Only
Text stays on your device.
Frequently Asked Questions
Does sort handle numbers correctly?
Lines sort as text. For numeric sort, pad numbers with leading zeros (001, 002, 010).
What does reverse text do?
It reverses all characters in the input — "hello" becomes "olleh" — separate from line sorting.
Are blank lines included?
Yes. Blank lines participate in sorting like any other line.
Does it support Unicode?
Yes. Locale-aware sorting handles accented and non-Latin characters.
Is this line sorter free?
Yes. Unlimited sorting with no signup.
Sorted Lists in One Paste
Spreadsheet sort dialogs are overkill for a quick alphabetical list. Paste lines, pick ascending or descending order, and copy — or reverse an entire string for encoding puzzles and social media effects.
