🔢

Sort Text Lines

Sort text lines alphabetically, numerically, or randomly

Browser-based, files never uploaded Instant results Works on any device

How to use Sort Text Lines

  1. 1Paste text (one item per line)
  2. 2Choose sort mode
  3. 3Click Sort
  4. 4Copy sorted result

About this tool

Sort lines of text alphabetically (A-Z, Z-A), by length, numerically, or randomly. Optionally remove duplicates.

sort textsort linesalphabetical sorttext sorterline sorter

Frequently asked questions

Can I sort numbers?

Yes — Numeric sort correctly handles decimal and integer numbers.