Sort lines
Sort lines A→Z or Z→A; skip blanks.
About this tool
Sort lines of text alphabetically or numerically, ascending or descending, in one click. Tidies up lists, logs and exports fast.
Why use it
- Alphabetical and numeric sorting in both directions.
- Reorders large lists instantly.
- Processed locally with no upload.
Common use cases
- Alphabetize a list of names or keywords.
- Order a set of numbers before further work.
- Tidy an unsorted export for easier scanning.
Tips
- Remove duplicate or empty lines first for the cleanest result.
- Numeric sort treats values as numbers, not text — pick the right mode.
How to use
- Paste text.
- Sort.
- Copy.
FAQ
- How can I sort my lines?
- Alphabetically A–Z or Z–A, with options that help with numbers and case.
- Is my text uploaded?
- No. Sorting is done locally in your browser.
- Can I remove duplicates while sorting?
- Use the dedupe tool alongside sorting for a clean, unique list.
- Does it sort case-sensitively?
- You can choose case-sensitive or case-insensitive ordering.
- Will blank lines be kept?
- Blank lines are grouped together; use the empty-line remover to drop them first.
- Can I reverse the order?
- Yes, switch to descending to flip the list.