</> Online Utilitiesdev.conversiontools.online

Alphabetical Sorter — put any list in A–Z order

Paste a list and alphabetize it instantly. Sort whole lines or individual words, forwards (A–Z) or backwards (Z–A), with natural number sorting so “Item 2” lands before “Item 10”, plus case controls, duplicate removal and optional numbering. Perfect for name lists, bibliographies, glossaries, tags and spreadsheet cleanup.

Sort what
Order
Case
More options

Send sorted result to…

Your sorted text travels in the link itself (after the #) — nothing is uploaded. The next tool picks it up when it opens.

Session history

Snapshots of this session only — kept in memory while this tab is open, never stored or uploaded. Click a snapshot to restore it; pin the ones you want to keep handy.

  • No snapshots yet — your edits and samples appear here.

Your tools

Favorite this sorter for this session, and jump back to tools you have used recently.

Recently used
Nothing yet — tools you send results to appear here.
Favorites
No favorites yet this session.

How to put a list in alphabetical order

  1. Paste your list into the input box — one item per line, or a block of words if you pick Words mode.
  2. Choose A → Z or Z → A, and set case, natural-number and duplicate options to taste. The result updates live — no button to press.
  3. Copy the sorted result, download it as a .txt file, or send it back to the input to sort it again with different options.

Worked example

Input (Lines mode, A → Z, ignore case, natural numbers on): banana Apple cherry 10 green bottles 2 green bottles apple Sorted result — 6 items: 2 green bottles 10 green bottles Apple apple banana cherry

Two things to notice: natural sorting puts “2 green bottles” before “10 green bottles” because 2 is smaller than 10 (plain character sorting would reverse them), and with case ignored, “Apple” and “apple” tie on letters and keep their original relative order. Switch to Words mode and the same tool alphabetizes individual words instead: “pear banana Apple kiwi banana” becomes Apple, banana, banana, kiwi, pear.

Sorting rules at a glance

SituationHow it sorts
Numbers firstItems starting with numbers come before items starting with letters.
Natural numbersOn (default): numbers compare by value — 2 before 10. Off: character by character — “10” before “2”.
Capital lettersIgnore case (default): Apple = apple. Case-sensitive: capitals first — Apple before apple.
AccentsAccented letters sort with their base letter (é with e) under ignore-case collation.
DuplicatesKept by default; turn on Remove duplicates to keep one copy of each item.
Blank linesSkipped when “Trim & skip blank lines” is on; leading/trailing spaces are trimmed too.

Try an example list

Load a real-world list and experiment with the options — natural numbers, case and dedupe behave differently on each one.

Frequently asked questions

How does the alphabetical sorter order items?

It compares items letter by letter using locale-aware alphabetical collation, the same ordering a dictionary uses. Numbers at the start of an item sort before letters, and with natural sorting turned on, numbers compare by value — so 2 comes before 10.

What is the difference between sorting lines and sorting words?

Lines mode treats each line as one item, which is right for names, titles and list entries. Words mode splits your text into individual words — on spaces, commas and line breaks — and sorts the words themselves, which you can then join back with new lines, commas or spaces.

Does capitalization affect the order?

By default no: the sorter ignores case, so Apple, apple and APPLE sort together by their letters. Switch to Case-sensitive and capitals sort before lowercase, so Apple comes before apple.

How are numbers sorted?

With natural sorting on (the default), numbers compare by value: Item 2 sorts before Item 10. Turn it off for strict character-by-character ordering, where Item 10 comes before Item 2 because 1 comes before 2.

Can I remove duplicates while sorting?

Yes. Turn on Remove duplicates and each unique item appears once in the result. The stats line tells you how many duplicates were removed.

Is my text uploaded or saved?

No. Sorting happens entirely in your browser; nothing you paste is uploaded, stored or tracked.

What is the difference between this and the Text Sorter?

This page is dedicated to alphabetical order for lines and words. The Text Sorter is the broader tool: it also sorts lines by length and in random order. If all you need is A–Z, this page is the faster, more focused option.

Related text tools

About this tool

The Alphabetical Sorter is one of 33 free utilities in the Online Utilities Suite at dev.conversiontools.online. Every tool runs entirely in your browser — your text is never uploaded, stored or tracked — so sorting is instant and private, even on lists with thousands of lines.

Privacy

This page processes everything locally in your browser: no account, no uploads, and nothing you type is sent to a server. Session history, favorites and recently-used tools live only in this tab's memory and disappear when you close it — they are never written to disk or uploaded. Advertising on this site is served by Google AdSense, which may use cookies to personalize ads; you can opt out of personalized advertising in your Google ad settings.