Put your list in order.

Sort lines

A little order goes a long way. Sort your list, keep the original, and take the result wherever you need it.

Your text stays in your browser
Sorting options

Sorting follows the language of this page. Duplicate lines are kept; blank lines stay in their original positions unless removed.

Original lines0
Lines kept0
Blank lines removed0
Up to 200,000 characters

Ready when you are.

Private by designYour text is processed on your device.
A clear view, instantlyLive counts, without an extra click.
Free. No sign-up.Just open the tool and get started.

A tidy list in three small steps.

1
Add your list

Paste or type one entry per line. Your original stays in its own field.

2
Choose your order

Pick A–Z or Z–A, and turn on natural number sorting to put item2 before item10.

3
Take the result

Copy the sorted list or download it as a UTF-8 text file.

Know how your list is sorted.

Alphabetical sorting uses your browser’s language-aware comparison for English, Spanish or German, matching the page language. Accents and punctuation remain significant. With letter case enabled, uppercase comes first for otherwise matching letters in A–Z order.

Natural number sorting compares runs of digits by value, so item2 comes before item10. It is not a calculator for decimal numbers, negative values, dates or currencies. Equal sort keys keep their original relative order, including in Z–A mode.

Duplicates are never removed. Blank and whitespace-only lines stay in their original positions while the non-blank entries are sorted around them. Choose “Remove blank lines” to remove them. Spelling and spaces on kept lines are untouched. A final newline is preserved if a line remains; mixed line endings use the first detected style.

FAQ

A few sorting details.

Does Z–A reverse equal entries too?

No. Equal sort keys retain their original relative order in both directions. Sorting does not remove duplicate lines.

Why is item10 before item2?

Alphabetical mode compares digits as text. Turn on natural number sorting to compare digit runs by value instead.

Will blank lines move to the top?

No. By default they stay in their original positions. If you want a continuous list, choose Remove blank lines.

Does my list leave my device?

No. Sorting runs in your browser. Optional analytics gets only the tool and button label, never your list, result, options or counts.

Want to lose the repeats, too?

Remove duplicate lines with a separate tool while keeping the first occurrence.

Remove duplicate lines

A practical example

Before

item10
item2
item1

After

Natural number sorting, A–Z:
item1
item2
item10

Put it to work

Sort numbered filenames, product labels or a short reading list. Natural sorting is useful when numbers are embedded in labels. For a unique alphabetized list, remove duplicates first, then sort the remaining lines.

Check the result

Plain alphabetical sorting puts item10 before item2. Natural sorting compares digit runs and does not parse decimal numbers, negative amounts or dates. Page language affects accented letters; select the language that matches your list.