Skip to content
ZyncTools

Line Sorter

Sort lines alphabetically, numerically, by length or at random.

1

Input

2

Settings

3

Run

4

Results

Results will appear here once you run the tool.

About Line Sorter

Sort lines alphabetically, numerically, by length or at random. Paste or type your text into Line Sorter, adjust the settings, and the result appears below.

Your files stay on your device. ZyncTools has no upload step: the file is read in your browser, processed there, and handed straight back to you. There is no account, no watermark and no size cap beyond what your own device can hold.

Settings. Line Sorter gives you control over sort by, case sensitive, remove duplicate lines, trim whitespace and drop empty lines.

Also known as: sort, lines, alphabetise, order.

How to use Line Sorter

  1. Add your input. Paste or type your text into the input box. You can also load a text file from your device.
  2. Choose your settings. Adjust sort by, case sensitive, remove duplicate lines and the other 2 settings to suit what you need.
  3. Run the tool. The result updates as you type. Press Run to refresh it at any point.
  4. Save the result. Copy the output, or press Download to save it. Nothing is kept once you close the tab.

Frequently asked questions

Are my files uploaded when I use Line Sorter?

No. Line Sorter runs entirely inside your browser. Your text is read locally, processed on your own device, and handed straight back to you. You can confirm this yourself: open your browser's developer tools, watch the Network tab, and run the tool — no request carries your data anywhere.

Is Line Sorter free?

Yes, completely. No account, no sign-up, no watermark on your output, and no cap on how many times you can use it. The project is open source under the AGPL licence.

Does Line Sorter work offline?

Mostly. The site caches itself after your first visit, so it keeps working without a connection. Tools that need a specialised library — PDF editing, OCR, QR codes, MP3 encoding — need a connection the first time you run them, then that library is cached too.

Related text tools