— Text & writing

Sort Lines

Paste a list and sort it instantly — A–Z or Z–A, case-insensitive, numeric or natural order, with blank and duplicate removal.

0Lines
— What it does

Sort Lines is a free tool that sorts any list of text lines alphabetically or numerically. Choose ascending or descending order, ignore case, use natural sorting so numbers inside text order sensibly, remove blank lines or duplicates, and reverse the result — everything updates live in your browser.

  • Sort A–Z or Z–A, with optional case-insensitive ordering.
  • Natural (numeric-aware) sort so "item2" comes before "item10".
  • Remove blank lines, drop duplicates, or reverse the result.
  • Runs entirely in your browser — nothing is uploaded or sent to a server.

How to use it

1

Paste your lines

Paste a list of lines into the input box — one item per line.

2

Choose direction and options

Pick A–Z or Z–A, then toggle case-insensitive, natural sort, remove blanks, remove duplicates, or reverse.

3

Copy or download

The sorted list updates as you type. Copy it to the clipboard or download it as a text file.

Frequently asked

What is natural sort?
Natural sort orders numbers inside text the way people expect, so "item2" comes before "item10" instead of after it. Turn it off for strict character-by-character ordering.
Can I sort in reverse or descending order?
Yes. Choose Z–A for descending order. The separate Reverse option flips whatever the current result is, which is handy for reversing a list without re-sorting it.
Can I remove duplicates and blank lines while sorting?
Yes. Turn on "Remove duplicates" to keep only unique lines and "Remove blank lines" to drop empty rows, both applied as part of the same sort pass.
Is my list sent to a server?
No. Sorting happens entirely in your browser with JavaScript. Your text is never uploaded, logged, or stored anywhere, so it stays completely private.
— Built by saavos

These tools are free. So is the first version of your agent.

saavos is the AI agent that lives on your website — themed to match your design, answering visitors from your own content, and telling you what they actually want to know. Paste your URL and see it answer, before you install anything.

Make my site feel alive