← All text tools

Sort lines

Sort lines A to Z, Z to A, by number or by length, or shuffle them. Alphabetical sorter.

  • Free
  • No sign-up
  • Works on any device

About Sort lines

Sorts lines alphabetically A to Z or Z to A, by number, by length, or shuffles them at random. Number sorting treats 10 as larger than 9, which plain alphabetical order gets wrong. Useful for glossaries, name lists, keywords and raffle ordering.

How to use Sort lines

  1. Type or paste your text in the box above.
  2. The result appears instantly as you type.
  3. Copy the result or download it as a file.

Why use this tool?

Also known as

Frequently asked questions

Why does 10 come before 2 in my sort?

Alphabetical sorting compares text character by character, so 10 starts with 1 and comes first. Choose the numeric sort option to order by actual value.

Is Sort lines free?

Yes. Sort lines on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Related tools