Alphabetize a list of items ascending
Input
banana
apple
cherryExample output
apple
banana
cherrySort lists and multiline text alphabetically, numerically, by character length, or using natural alphanumeric sorting. Deduplicate lines, reverse order, or shuffle text lists with 100% client-side privacy.
| Sorting Methods | Alphabetical, Natural Alphanumeric, Numeric Value, Line Length |
|---|---|
| Available Actions | Sort Lines, Deduplicate Lines, Reverse Order, Shuffle Lines |
| Maximum Input | 5 MB |
| Execution Deadline | 3 s |
Input
banana
apple
cherryExample output
apple
banana
cherryInput
apple
banana
apple
cherryExample output
apple
banana
cherryStandard alphabetical sorting arranges 'item10' before 'item2'. Enabling Natural Sort parses embedded numeric sequences as whole integers, correctly ordering 'item1', 'item2', and 'item10'.
When using Numeric Value sort, lines containing negative numbers (e.g., -5) and decimals (e.g., 3.14) are parsed according to standard arithmetic magnitude rather than character codes.
By default, duplicate removal considers 'Item' and 'item' as identical duplicates. Toggle Case Sensitive to preserve distinctions between mixed capitalization lines.
Case Converter
Convert text, identifiers, and variables between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, dot.case, and path/case.
Text Diff / Compare
Compare two text files, code snippets, or configuration payloads line-by-line, word-by-word, or as a unified patch.
String Escape & Unescape
Escape and unescape special characters, quotes, and control sequences for JavaScript, JSON, C/C++, Python, SQL, and regex literals.
JSON Key Sorter
Sort JSON object keys alphabetically in ascending or descending order, with optional case sensitivity, recursive sorting, and array element sorting.
Natural sort orders strings in human-friendly order by treating multi-digit numbers as single numeric values rather than comparing character by character (e.g., File 2 comes before File 10).
No. The Deduplicate Lines operation preserves the original order of items as they first appeared in your list.
No. All sorting, deduplication, and shuffling executes 100% locally in your web browser. No data ever leaves your device.