Rechner Welt
Text

Alphabetical Sorter

Sort lines of text alphabetically (A→Z or Z→A), numerically, or by length. Handles Unicode and locale-aware collation.

Last updated: April 2026 · Runs in your browser · No sign-up

Quick answer: Paste lines, pick a sort mode, get the ordered output. No data leaves your browser.

Sort modes explained

  • Alphabetical — A, B, C... compared character by character.
  • Reverse alphabetical — Z, Y, X... for descending lists.
  • Numeric — 1, 2, 10, 100 (treats the line as a number).
  • By length — shortest to longest line; useful for code tidying.
  • Random — shuffle the list with Fisher–Yates.

Frequently Asked Questions

Does it sort numbers correctly?

Alphabetical mode sorts '10' before '2' (lexicographic). Numeric mode handles them as numbers so 2 comes before 10. Pick the mode that matches your data.

How are accented characters sorted?

We use the Intl.Collator API with your browser's locale, so ä sorts next to a (German style) or after z (Swedish style) depending on region. You can override the locale.

Can it sort CSV rows by a specific column?

The current version sorts whole lines only. For column-aware sorting, use the CSV-to-JSON tool and sort in JSON, or a spreadsheet.

Does it remove duplicates while sorting?

Optional. Toggle 'unique only' to combine sort + dedupe in one pass (equivalent to shell 'sort -u').

Related Tools