Text Sorter
Sort text lines, words, paragraphs, or CSV columns. 6 sort algorithms, natural number sort, locale-aware, and 10+ extras. 100% private.
About Text Sorter
Sort text lines, words, paragraphs, or CSV columns. 6 sort algorithms, natural number sort, locale-aware, and 10+ extras. 100% private. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What can I sort?
Lines (split by newline), words (split by whitespace), paragraphs (split by double newline), or CSV column values. Sort by alphabetical, numeric, length, natural (numeric-aware like 'file2' < 'file10'), or reverse any.
What extras does this tool have?
Extras: (1) Sort lines, (2) Sort words, (3) Sort paragraphs, (4) Sort CSV column values, (5) Alphabetical sort, (6) Numeric sort, (7) Natural sort (numeric-aware), (8) Length sort, (9) Reverse sort, (10) Case-insensitive toggle, (11) Locale-aware (BCP-47 codes), (12) Remove duplicates after sort, (13) Keep empty lines toggle, (14) Custom separator, (15) Show sort stats, (16) CSV export.
Related tools
Add Line Breaks
Insert line breaks into text — word-wrap at a column width, split on a delimiter, or break every N characters/words. Unicode-correct, word-safe, with CJK/emoji support. 100% private.
Add Prefix/Suffix to Lines
Add a prefix and/or suffix to every line — wrap in quotes, build HTML lists, add SQL commas, number lines with a counter token. Skip empty, regex-conditional, escape for JSON/HTML/SQL. 100% private.
Big Text Generator
Convert text to big, wide Unicode styles — fullwidth, bold sans, monospace, circled, squared. Copy-paste into bios, chats, and usernames. 100% private, accessibility-honest.