Text Sorter

Sort lines alphabetically, by length or numerically — plus reverse and shuffle — using locale-aware collation.

Text Tools 100% in your browser
1
Lines sorted

Alphabetical modes use the Intl collator (accent-aware). Numeric modes expect one number per line.

How to use

  1. Paste your list — one entry per line.
  2. Choose a sort mode (A→Z, length, numeric, reverse, shuffle).
  3. Optionally make ordering case-sensitive.
  4. Copy the sorted result.

Example

Input: banana, apple, cherry (A → Z)

Output: apple, banana, cherry

How it works

Lines are sorted alphabetically (A–Z or Z–A) using a standard string comparison. Empty lines are dropped from the sort unless you keep them.

Limits & compatibility

  • Numeric modes expect one number per line; non-numbers sort unpredictably.
  • Shuffle is random and cannot be reproduced.
  • Alphabetical order is locale 'en' collation — accented letters sort near their base letter.

Privacy

Your text never leaves the browser. There is no server call, no storage and no logging of content.

Related tools

FAQ

Questions about Text Sorter

Is my input private?

Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.

How accurate is the result, and what are the limits?

The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.

What happens to files I open with this tool?

Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.