Text Sorter
Put a pasted list of lines into alphabetical order, A to Z or Z to A, with options for duplicates and blank lines.
About this tool
Put a pasted list of lines into alphabetical order, A to Z or Z to A, with options for duplicates and blank lines. The Text Sorter on WordCalculator runs entirely in your browser, so the text and numbers you enter are processed on your device and are not sent to our server. It is built for writers, students, bloggers, marketers and business owners in the UK and the USA who need a quick, accurate answer without signing up or installing anything.
How to use the Text Sorter
Enter your input in the field or fields above, choose any options shown, then press Calculate / Generate. The Text Sorter updates with your result straight away. Check the result, copy it if you need it, and adjust the input to try another version. If a result looks unexpected, check for extra spaces, missing values or the wrong unit selected.
Example
Paste the lines 'banana', 'apple' and 'cherry' in any order and sort A to Z to get apple, banana, cherry, each on its own line, ready to copy back into your document.
Text Sorter FAQs
Does sorting ignore capital letters?
Sorting follows standard alphabetical order and treats capital and lower case versions of the same letter as equal, so 'Banana' sorts with the Bs either way.
How are lines starting with numbers sorted?
Numbers sort before letters and are read as text, so '10' comes before '2'. If you need true numerical order for a long list, check the result around multi-digit numbers.
Can I sort in reverse order?
Yes. Choose Z to A to flip the list so it runs backwards alphabetically, useful for newest-first or largest-first lists.
Related tools
- Word Counter - Paste any text and see its word count alongside characters, sentences, paragraphs and average word length, updated as you type.
- Character Counter - See exactly how many characters your text has, with and without spaces, plus separate tallies for letters, numbers and symbols.
- Sentence Counter - Counts the sentences in your writing and works out the average sentence length, handy for spotting passages that run too long.
- Paragraph Counter - Find out how many paragraphs your text is split into and how many words each one holds, so long blocks are easy to spot.
- Letter Counter - Counts letters only, with no spaces or punctuation, and breaks the total down by vowels, consonants and upper or lower case.
- Syllable Counter - Estimates the syllables in every word using vowel-group rules, then totals them for poetry, songs and reading-level checks.
