Skip to content
QZTools

Sort lines of text

Put any list in order: names, keywords, products or references.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to sort lines of text

  1. 1

    Paste the list, one item per line.

  2. 2

    Pick how to sort it.

  3. 3

    Copy or download the sorted list.

About this tool

Alphabetical order handles accented letters. “Natural order” puts “file 2” before “file 10”, as you'd expect.

You can also reverse the list, shuffle it or drop duplicates in the same step.

Frequently asked questions

What is natural order?

Numbers are sorted by value: “item 2” comes before “item 10”, instead of comparing character by character.

Is the random order truly random?

Yes, it uses your browser's cryptographic random generator.

Related tools

More Text tools