Text processing happens in your browser. Review the result before downloading.
Text Sorter
Sort lines alphabetically.
What this tool does
Arrange a line-based list into a locale-aware ascending order. Use it for short inventories, names, reference lists or copied labels when the original ordering is no longer useful and each line represents one complete item.
How to use Text Sorter
Paste one item per line and choose Run tool. Review the first few entries, names with accents and entries that begin with numbers. Copy or download the result after checking that every original item is still present.
Example and interpretation
An input containing Zebra, Apple and Mango on separate lines becomes Apple, Mango and Zebra in a typical English browser. Duplicate lines remain duplicated, so use the duplicate-line tool separately if you want a unique list.
Limits and practical tips
Sorting uses your browser's locale comparison, so accented letters and punctuation may sort differently across devices. It is not a numeric spreadsheet sort: values such as 10 and 2 may appear in an unexpected order. Avoid using it to reorder multi-line records.
Working with plain text
The output is plain text rather than a formatted Word document. Fonts, comments, tracked changes and embedded objects are not carried across when you paste into a textarea. If the source has meaningful structure, save a separate original before making changes and compare representative sections after each operation.
Before you finish
A useful workflow is to try a short sample first, inspect the result and then process the full passage. When several cleanup operations are needed, run them in a deliberate order: changing spacing or case can affect what a later comparison treats as identical. Copy the finished output into your destination and check it again there. If you download a text file, reopen it before deleting the source. Different editors can display line endings and wrapped lines differently, so confirm that the saved version still has the structure you intended to keep.
Explore all tools, read our privacy information or report a problem.
Questions and answers
Will duplicate entries be removed?
No. Sorting rearranges the lines but keeps repeated entries. Use Remove Duplicate Lines for a separate deduplication step.
Is the sort order identical on every device?
Not necessarily. Sorting uses the browser's locale comparison, which can handle accents, punctuation and capitalisation differently depending on the environment.
Can I sort a table or multi-line record safely?
This tool treats every line as an independent item. It does not keep several lines together as one record or recognise spreadsheet columns. Use a table-aware editor for structured records.
