How to use the Sort Lines
- Paste your text in the Input box, drop a file on it, or click "Example" to try it.
- Adjust the options (order, ignore case, remove duplicates) to fit your needs.
- The output updates instantly as you type.
- Click Copy or Download. Use "Use as input" to chain another operation.
About this tool
Sort lines alphabetically, numerically, by length or in natural order. It is part of the free Line Tools collection on Online Tools Harbor. Everything happens locally in your browser, so it is fast and private.
Frequently asked questions
Is the Sort Lines free?
Yes. The Sort Lines is completely free to use, with no sign-up and no limits on normal use.
Is my data safe?
Yes. This tool runs entirely in your web browser using JavaScript. Your text is never uploaded to our servers.
Is there a size limit?
There is no fixed limit: it depends on your device. Several megabytes of text are processed in a fraction of a second on most computers.
Does it work on mobile?
Yes, it works in any modern browser on phones, tablets and computers. No app to install.