Sort Lines
Sort a list A–Z, Z–A, by length, by number, or shuffle it.
Tool inputs stay in your browser · optional AI search sends your query
How to use it (step by step)
- 1Type or paste your text into the “Input” box. There is already an example in it so you can see how it works; press Clear to start with your own.
- 2Choose your settings: “Order”.
- 3The answer appears right away in the “Result” box. No button needed.
- 4Press Copy and paste the result wherever you need it.
Words to know
- Word wrap / line numbers
- Small text clean-ups: wrap long lines, number each line, sort a list A–Z, reverse letters or remove extra spaces.
- Array / list
- An ordered collection of items, like ["apple", "banana"]. Every programming language has one.
- Random
- Chosen by chance so every option has an equal, unpredictable chance of being picked.
More in Text & Writing
Word & Character CounterCount words, characters, sentences, paragraphs and reading time.Case ConverterUPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.Remove Extra SpacesCollapse double spaces, trim lines and remove empty lines.Remove Line BreaksJoin lines into one paragraph, e.g. text copied from a PDF.Remove Duplicate LinesKeep only unique lines from a list, in the original order.Reverse TextReverse letters, word order or line order.