Ads Leaderboard

Text Sorter

Paste any list — one item per line — and sort it alphabetically, numerically or by length, optionally trimming whitespace and dropping duplicates.

0 lines in → 0 lines out
Ads In-Content

How to use Text Sorter

  1. Paste your list into the input box, one item per line.
  2. Optionally tick Remove duplicates and/or Trim whitespace.
  3. Choose a sort order: A → Z, Z → A, numeric or by length.
  4. Copy, download or clear the result.

Features

  • Alphabetical sort (A → Z and Z → A)
  • Numeric sort in both directions — non-numeric lines sink to the end
  • Sort by line length
  • Remove duplicates and trim whitespace options
  • Original and result line counts shown side by side
  • Copy, download (.txt) and clear in one click

Important information

Numeric sorting parses each line as a number (commas are ignored, so “1,000” works). Lines that are not numbers are kept but placed at the end of numeric sorts rather than being deleted.

Frequently asked questions

Does sorting delete my lines?

Never — lines are only reordered. Duplicates are only removed if you tick that option, and non-numeric lines survive numeric sorts by moving to the end.

Can I sort numbers like 1, 2, 10 alphabetically?

Alphabetical order would give 1, 10, 2. Use the numeric sort buttons instead for value-based ordering.

Is my text uploaded anywhere?

No. Sorting happens entirely in your browser; the text never leaves your device.