Skip to content
Toolify
Text

Sort Lines

Sort any list of lines the way you need — alphabetically A–Z or Z–A, numerically, or reversed. Optional case-insensitive sorting and duplicate removal help you produce clean, ordered lists from pasted text in seconds.

How to use the Sort Lines

  1. 1Paste your list. Add your text with one item per line.
  2. 2Choose a sort order. Pick alphabetical, numeric, reverse, or case-insensitive sorting.
  3. 3Copy the sorted list. Grab the ordered output with the copy button.

Frequently asked questions

How does numeric sorting work?

Numeric mode compares the numbers in each line by value, so 2 comes before 10 — unlike plain alphabetical sorting, where '10' would come first.

Can I remove duplicates while sorting?

Yes. Enable the deduplicate option to keep only unique lines in the sorted output.