ToolLane.online

Sort Text Lines

Quick answer: Sort Text Lines puts your lines in alphabetical order, A to Z or Z to A, and can remove duplicates and ignore capital letters while sorting.

Sorting text lines means putting them in alphabetical order. Paste your lines into the box, pick A to Z or Z to A, and click Sort Lines. You can also tick the boxes to remove duplicate lines and to ignore capital letters, so Apple sorts with apple instead of before it. Your text never leaves your browser.

Limit: Max 1,000,000 characters.

How to use Sort Text Lines

  1. Paste your lines into the box, one item per line.
  2. Pick A to Z or Z to A from the direction menu.
  3. Tick the boxes to remove duplicate lines or ignore capital letters.
  4. Click Sort Lines, then copy the result or download it as a text file.

Frequently asked questions

Is Sort Text Lines free?

Yes, it is free and needs no sign-up.

How do I sort Z to A?

Pick Z to A from the direction menu before you click Sort Lines.

What does ignore case do?

It sorts without treating capital letters as different, so apple and Apple sit next to each other instead of apart.

What does remove duplicates do?

It keeps only the first copy of any line that appears more than once.

Is my text uploaded anywhere?

No. The sort runs in your browser, so your text stays on your device.

← All tools