Alphabetical Sort
Sort lines of text in ascending or descending alphabetical order. Option to remove duplicates. Instant result in the browser.
How does sorting work?
The text is split on its line breaks and each line goes through JavaScript's localeCompare method, set up with the pt-BR locale. That way accented Portuguese letters land in the correct order.
The whole sorting takes place inside your browser.
Sort a list alphabetically
Putting a list in alphabetical order by hand is a slog and, with many items, easy to get wrong. This tool sorts a text's lines on its own, from A to Z (ascending) or Z to A (descending), whichever you pick.
There's also an option to remove duplicates, great for cleaning up a list of names, emails, keywords or any set riddled with repeats. Rather than dragging rows around a spreadsheet, you paste the text and get it all organised back.
Paste the list, choose the order, copy the result. The processing runs in the browser and the text never leaves it.
Related Tools
Reverse List
Reverse the order of lines in a list or text. Paste the list and get the lines in reverse order instantly.
Number Lines
Add line numbers to any text. Configure the starting number, separator and option to skip empty lines. Instant result.
Filter Lines
Filter lines of a text or list that contain (or do not contain) a term. Supports regex and case-insensitive option.