Sort Lines Alphabetically

Sort lines alphabetically A–Z or Z–A with natural number order and optional case sensitivity. Free, private and online — lists never leave your browser.

About this tool

Put Any List in Order

Sort names, keywords or file lists line by line. Natural ordering puts item2 before item10, and you choose the direction and whether case matters.

How to use it

  1. Paste one item per line.
  2. Pick direction, natural ordering and case options.
  3. Copy the sorted list.

Frequently asked questions

What is natural sorting?

Numbers inside lines are compared by value, so “file 2” comes before “file 10” instead of after it.

Is my text uploaded anywhere?

No. The tool runs in your browser and the text never leaves your device, so you can paste confidential drafts, contracts or customer data.