Text Tools
Text Sorter
Sort lines A–Z, Z–A, by length, or shuffle them with a local random generator.
Your information is processed in your browser and is not uploaded to our servers.
Lines
Sorted
About this tool
Lines are sorted with localeCompare (numeric, case-insensitive) or by length. Shuffle uses crypto.getRandomValues.
How to use
- Paste lines.
- Choose A–Z, Z–A, length or shuffle.
- Copy the result.
Formula and methodology
localeCompare with sensitivity: base and numeric: true, or length comparison.
Worked example
pear / apple / Banana sorts to apple / Banana / pear.
Frequently asked questions
Is shuffle cryptographically fair?+
It uses getRandomValues. Modulo bias on the index is negligible for typical lists.
Is text uploaded?+
No.
Related tools
Remove Duplicate Lines
Drop duplicate lines from a list while keeping the original order.
Open tool →
Text Reverser
Reverse characters, words or whole lines of text in the browser.
Open tool →
Word Counter
Count words, characters, sentences and estimated reading time.
Open tool →
Case Converter
Switch text between uppercase, lowercase, title case, sentence case, camelCase, snake_case and kebab-case.
Open tool →
Character Counter
Count characters with and without spaces.
Open tool →
Remove Extra Spaces
Collapse repeated spaces, trim lines and optionally squeeze blank lines.
Open tool →