Reverse List
Reverse list online and revert line order instantly. Paste text, get reverse order output, then copy all or download text.
Help Us Improve
—
(—)
Sort a list online in alphabetical order with natural or machine sorting. Paste lines, choose A-Z or Z-A, then copy or download the sorted output.
Instant sort online
Output updates as you type, paste, or change sort options.
Natural and machine modes
Switch between human-friendly alphanumeric order and strict lexical order.
A-Z and Z-A order
Sort ascending or descending without editing the source list.
Case options
Choose case-sensitive or case-insensitive comparison.
Copy all
Copy the full sorted list in one click.
Download text
Save sorted output as a plain text file.
Paste your lines
Enter one item per line in Original list.
Choose sort options
Pick natural or machine sort, A-Z or Z-A, and case sensitivity.
Copy or export
Use Copy all, Download text, or Open in new tab.
One item per line
Use line breaks to separate items before sorting.
Try natural sort first
Use natural sort when lines contain numbers (file10 vs file2).
Use machine sort for codes
Lexical order can be better for fixed-width identifiers.
Check case settings
Switch to case-sensitive when uppercase must rank differently.
Download long outputs
Text export is safer than clipboard for very large lists.
Name lists
Put contacts, attendees, or team members in alphabetical order.
Numbered labels
Use natural sort so item 2 stays before item 10.
Inventory rows
Order SKU or product codes before importing to a spreadsheet.
QA checklists
Normalize line order before comparing two text exports.
Quick cleanup
Sort online instead of manual cut-and-paste in a document.
Immediate
No run button required for standard use.
Flexible
Natural, machine, ascending, descending, and case controls in one place.
Private
All processing stays in the browser.
Portable output
Copy, download, or open output in a separate tab.
“The Array.sort() method sorts the elements of an array in place and returns the sorted array. By default it uses string Unicode code point order, but a custom compare function can implement natural sort.”
JavaScript Array.sort() for alphabetical ordering: Machine sort uses JavaScript localeCompare with optional case sensitivity. Natural sort implements a custom compare function that splits each line into numeric and text chunks for human-friendly ordering. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
“Natural sort order compares numeric substrings as numbers rather than characters, so "item 2" sorts before "item 10". This matches human expectations for mixed text-and-number labels.”
Natural sort order for alphanumeric data: Natural sort mode splits each line into alternating text and numeric chunks, then compares chunk by chunk with numeric comparison where applicable, producing human-friendly alphanumeric ordering. en.wikipedia.org/wiki/Natural_sort_order
“String.localeCompare() compares strings according to locale-specific sort order, supporting options for case sensitivity and numeric comparison in internationalized applications.”
Locale-aware string comparison: Machine sort uses localeCompare() with sensitivity options for case handling. Ascending (A-Z) and descending (Z-A) order are supported by reversing the comparison or the final sorted array. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare