Free text tools — updated for 2025 | All Text Tools

Text Sorter

Sort any list of lines alphabetically, numerically, by length, or randomly. One click and done.

Text Sorter

Sorting options explained

  • Alphabetical (A → Z) — standard dictionary order, numbers before letters
  • Alphabetical (Z → A) — reverse dictionary order
  • Length ascending — shortest lines first, useful for finding abbreviated versions
  • Length descending — longest lines first, useful for finding the most verbose entries
  • Numeric — sorts lines that contain numbers by their numeric value (not string order — so 10 comes after 9, not after 1)
  • Random / Shuffle — Fisher-Yates algorithm for a true random shuffle every time
  • Reverse order — simply flips the current order without any sorting logic

Frequently Asked Questions

We use the Fisher-Yates shuffle algorithm, which is the statistically correct way to produce a uniformly random permutation. Every click of "Shuffle again" produces a fresh random order. The randomness comes from JavaScript's built-in Math.random(), which uses a PRNG seeded by the browser — it's not cryptographically secure but is more than sufficient for shuffling lists.
Numeric sort extracts the first number it finds in each line and sorts by that value. Lines with no numbers are treated as zero and sorted to the top. For example: "Item 10", "Item 2", "Item 1" would sort as "Item 1", "Item 2", "Item 10" — which is the natural human-readable order, unlike alphabetical sort which would give "Item 1", "Item 10", "Item 2".
Yes — copy just the column from your spreadsheet (Ctrl+C on a selected column in Excel/Google Sheets), paste here, sort, then paste back. Each cell will be on its own line. If your CSV has comma-separated values on each line, this tool sorts the entire line as a string, not individual fields. For field-level CSV sorting, you'd need a spreadsheet or a tool like Miller (mlr).