Sort Lines
Reorder a plain-text list alphabetically or reverse its current sequence without changing the text inside each line.
Free browser-based text utility. No account is required. Review the result before using it in an important document.
How to use Sort Lines
- Paste a list with one item on each line. Choose A to Z, Z to A or Reverse depending on the order you need.
- Review the output for numbers, punctuation and mixed-language entries. Alphabetical order is based on the browser's text comparison rules and may differ from a specialist locale-aware sort.
- Copy the sorted list after checking that the sequence matches the requirements of the system where it will be used.
Alphabetical sorting versus reversing
A to Z and Z to A compare the text of each line and arrange the lines by that comparison. Reverse does not sort: it simply flips the existing line sequence from bottom to top.
Practical uses
Sort a short glossary, alphabetise a simple checklist, reverse a sequence of steps or organise a list of labels. For spreadsheets or structured records, use a data tool that understands columns and data types.
Privacy and limitations
Sorting runs in your browser. The tool does not save your list to an online account. It sorts lines as text and does not identify duplicate records or interpret complex data.
Explore related tools
Try the Word Counter, Case Converter or another Doc Writer Lab text tool. Read the About page and Privacy Policy for service details.