Sort Lines — Alphabetical, Numeric & Random Sorter
Sort pasted lines alphabetically, numerically, by length, or randomly with ascending and descending order. Use ignore-case matching and empty-line cleanup for spreadsheets, prompts, code lists, and draft content.
How to Use Sort Lines to Organize Text Lists
Quick Start Guide
Paste your list with each item on a separate line.
Choose alphabetical, numeric, length-based, or random sorting.
Set ascending or descending order and optional cleanup settings.
Copy the sorted output into your document, spreadsheet, or code file.
Frequently Asked Questions
Still have questions? Check out our other tools or contact us for support.
Related Tools
Duplicate Remover
Remove duplicate lines from email lists, CSV columns, keyword lists, logs, and pasted text while preserving the first occurrence, trimming spaces, and ignoring case when needed
Word Counter
Count words, characters, sentences, and paragraphs online for writing, editing, and content checks
Case Converter
Convert text between uppercase, lowercase, title case, camelCase, snake_case, kebab-case, and other naming styles