Free Text Sorter Online

Sort lines alphabetically, by length, or numerically. 8 modes. Browser-only. No signup.

Everything happens in your browser. Your text is never sent to a server.

A text sorter reorders lines according to a sorting rule. Notepad AI's sorter supports 8 modes — alphabetical (case-sensitive or insensitive, both directions), by length (shortest or longest first), and numeric (ascending or descending). All sorting happens locally in your browser.

Related Tools

Text Sorter FAQ

What sorting modes are available?

Eight modes total: A→Z (case-sensitive), Z→A, A→Z case-insensitive, Z→A case-insensitive, Shortest first, Longest first, Numeric ascending, Numeric descending.

What's the difference between case-sensitive and case-insensitive sorting?

Case-sensitive treats 'Apple' and 'apple' as different — uppercase letters sort before lowercase (so 'Z' < 'a'). Case-insensitive ignores case, sorting purely on letter order. Use case-insensitive for names and most lists.

How does numeric sorting work?

Each line is parsed as a number (the leading numeric portion). Lines that don't start with a number are treated as 0. Useful for sorting lines that begin with numbers like '12 apples', '3 oranges', '7 pears'.

Is the text sorter free?

Yes — completely free, no signup, no login, no limits.

Is my text private?

Yes. All sorting happens in your browser. Nothing uploaded or logged.

Can I sort + dedupe in one step?

Run your text through Duplicate Line Remover first (preserves original order), then this Text Sorter. Two clicks, fully deduped + sorted output.

Sort + Edit in One Tool

Open Notepad AI — Free →