Free text sorter. Sort lines A to Z, Z to A, by length, or in natural numeric order (file2 before file10), with optional case-insensitive sorting.
A text sorter that orders lines A→Z, Z→A, by length, or in natural numeric order — so file2 sorts before file10 — with stable, case-insensitive sorting by default.
Paste your list here, pick an order, and it's sorted — alphabetically, by length, or in natural numeric order. Sorting a list sounds trivial until you actually need it done: names for an invitation list, product codes for a catalogue, keywords for an SEO sheet, package names in a config file that a linter insists must be alphabetical. Spreadsheets can sort, but pasting a list into a column, sorting, and copying it back out is five steps for a one-step job.
Beyond the obvious A-to-Z and Z-to-A, two orders earn their place. Natural sort handles numbers inside text the way humans expect: plain alphabetical sorting puts item10 before item2 (because "1" < "2" character-wise), while natural sort reads the digits as numbers and orders item2, item10, item100 correctly — indispensable for file names, version numbers and SKU lists. Length sorting, shortest or longest first, is the quiet favourite of copywriters arranging headline options and developers ordering CSS class names or import lines.
Case-insensitive mode (on by default) prevents the classic surprise where all capitalised words sort before every lowercase word — with it on, "apple" and "Banana" order as a human would file them. The sort is stable: equal lines keep their original relative order. Everything runs locally in your browser, and the result is one click from your clipboard or a downloadable text file. Pair it with the duplicate-line remover before sorting for clean, deduplicated, ordered lists in seconds.
Free while in beta. No card, no sales call, no onboarding call you didn't ask for.
An order that treats digit runs as numbers: file2 comes before file10, version 1.9 before 1.10. Plain alphabetical sorting compares character by character and gets these wrong.
Character codes for capitals (A–Z) come before lowercase letters (a–z), so a case-sensitive sort puts "Zebra" before "apple". Case-insensitive mode compares lowercase versions, giving the dictionary-style order people expect.
Yes — use natural order so 9 sorts before 82 and 100. Alphabetical order would sort them as strings: 100, 82, 9.
It orders your list based purely on the number of characters in each line, which is useful when organizing CSS classes or visual text layouts.
No, sorting will just group duplicates together. If you want to remove them, use the Remove Duplicate Lines tool first.
Business software from the team behind these free tools.
A CRM and project workspace for growing businesses.
Visit Avexora AI CRMWhatsApp Business API platform for broadcasts, chatbots and automation.
Visit AvexWAFrom a blank page to a live funnel in minutes.
Visit Avexora AI EBOSEnterprise-grade AI systems for operations and growth.
Visit Avexora AIYour business phone, answered by AI in every language, every hour.
Visit Avexora AI Voice AgentsAI-powered OMR scanning and exam management for schools.
Visit Avexora ExamOSFree duplicate line remover. Paste any list and remove duplicate lines instantly, with optional case-insensitive matching and whitespace trimming.
Text Diff Checker→Free text diff checker. Paste two versions of any text and see a line-by-line comparison with additions and removals clearly marked — all in your browser.
Case Converter→Free online case converter. Change text to uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case or kebab-case in one click.
CSV to JSON Converter→Free CSV to JSON converter. Paste CSV with comma, semicolon or tab delimiters and get a JSON array — handles quoted fields and header rows correctly.