Z

Sort Lines

Sort lines alphabetically, numerically, by length, or just reverse. Locale-aware, case-insensitive and unique options.

Free No signup Client-side Privacy friendly

How to use

  1. 1 Paste one item per line.
  2. 2 Pick a sort mode — alphabetical, numeric, by length, or just reverse.
  3. 3 Toggle case-sensitive, locale-aware, trim, and unique as needed.
  4. 4 Copy the sorted result.

Why use this tool

  • Numeric mode parses the leading number per line, so 2 comes before 10 (not after).
  • Locale-aware sort uses Intl.Collator — the same comparison your OS file manager uses.
  • Length sort is handy for finding the longest or shortest entry in a list.
  • Reverse flips order without comparing anything.

Frequently asked questions

Why does alphabetical sort give 1, 10, 100, 2, 20?

That is correct alphabetical order — character "1" comes before "2". Switch to Numeric ascending for true number order.

What if a line has no number in numeric mode?

Lines without a parseable number get pushed to the bottom and ordered alphabetically among themselves.

Does Unique remove case-insensitive duplicates?

It respects the Case-sensitive toggle — if off, apple and Apple are treated as the same line.

Related?

Use Deduplicate Lines for just removing duplicates without sorting, or Filter Lines to keep only matching lines.

Summary

Sort Lines is a free developer utility by Zerethon Tools. Sort lines alphabetically, numerically, by length, or just reverse. Locale-aware, case-insensitive and unique options. Runs entirely in the browser — no signup, no upload.

Category
Developer
Pricing
Free
Privacy
Browser-based
Signup
Not required

Privacy

Your data never leaves your browser unless explicitly stated. Sort Lines runs entirely client-side — no server upload, no logging, no tracking of your input.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free