MT ToolHub logoToolHub
โ†•๏ธ

Sort Text Lines

Sort, reverse and shuffle lines of text.

Loading toolโ€ฆ

How to use the Sort Text Lines

  1. 1Paste your text, one item per line, into the input box.
  2. 2Pick options (ignore case, remove empties, remove duplicates) and click Sort, Reverse, or Shuffle.
  3. 3Copy the sorted output from the result box.

About the Sort Text Lines

Free online tool to sort text lines alphabetically A-Z or Z-A, reverse, or shuffle. Remove empty lines and duplicates, ignore case, then copy the result.

Part of our Text Tools collection. Browse all tools.

Frequently asked questions

Does sorting work case-insensitively?
Yes. Enable the 'Ignore case' checkbox to sort and de-duplicate lines without regard to upper or lower case.
Is my text uploaded anywhere?
No. All sorting, reversing, and shuffling happens entirely in your browser, so your text never leaves your device.

More Text Tools

Popular tools