Skip to content
patrache.tools

Text Sort

Sort text lines online free — alphabetical order ascending or descending with duplicate removal and numeric sorting. Browser-based.

Result (0 lines)
lockYour files never leave your device
Share
Embed

Embed this tool on your site

Free online line sorter supporting ascending, descending, alphabetical, numerical, random sort, and duplicate removal.

How to use Text Sort?

  1. Type or paste text to sort.
  2. Select sort method (ascending, descending, etc.).
  3. Click sort to see the results.

Frequently asked questions about Text Sort

Can I remove duplicate lines?

Yes, enable the duplicate removal option to automatically remove identical lines.

Does it sort numbers correctly?

Yes, select numerical sort mode so 10 sorts after 2, not before.

Does it sort non-English text in proper dictionary order?

Yes — instead of comparing raw character codes, it uses the browser's locale-aware collation. That is why German ä sorts right after a while Swedish ä sorts after z, each following its own dictionary convention. Korean orders by initial, medial and final jamo, Japanese follows kana order, and mixed capitalization keeps A and a together instead of scattering them.

Can I get the original order back after sorting?

Sorting only produces a new result; the text you typed stays in the input box, so copying it again restores the original order. Once you paste the sorted output back over the input, though, there is nothing to recover. For a list whose order carries meaning, prefix each line with a number such as 001, 002 — sorting by that number later brings the arrangement back exactly.

How to get the most out of Text Sort?

  • Plain text sorting is character based, so 1, 10, 2 is the expected order unless you pad the numbers.
  • Uppercase letters sort before lowercase in raw ASCII order; use case-insensitive sorting for names.
  • Turn on duplicate removal to clean up mailing lists and tag lists in a single pass.

Powered by Patrache Studio Tools

Please allow ads on this site

To use these tools, allow ads on this site. Advertising keeps this service free.

Open your ad blocker, turn off blocking for this site, then check again.