DuckyTools
Home Text Sort Lines

Sort Lines Text

Alphabetise or numerically sort any list of lines.

Sort Lines is a free online tool that alphabetise or numerically sort any list of lines. It runs entirely in your web browser using Intl, so files are processed on your own device and never uploaded to a server. There is no sign-up, no file size limit imposed by the site, no watermark and no paid tier.

Price
Free — no account, no quota, no watermark
Category
Text
Where it runs
In your browser, on your device
Files uploaded
None
Technology
Intl
Settings
4
Works offline
Yes, after the first visit

About Sort Lines

Sort Lines is one of 57 text tools on DuckyTools, and like all of them it runs entirely inside this page. Alphabetise or numerically sort any list of lines.

How to use it

  1. Paste the text you want to run through sort lines.
  2. Set sort by, reverse order and ignore case and the remaining options.

The 4 settings

SettingWhat it doesDefault
Sort byChoose from 4: Alphabetical, Natural (numbers in order), Line length, Numeric value.Alphabetical
Reverse orderOn or off. Off by default.Off
Ignore caseOn or off. On by default.On
Drop empty linesOn or off. On by default.On

Under the hood

Runs onIntl — handles locale-aware formatting
ControlsSort by, Reverse order, Ignore case, Drop empty lines

Questions

What does the sort by option change?

It offers 4 choices — Alphabetical, Natural (numbers in order), Line length and Numeric value. The default is Alphabetical, which suits most cases; change it when your input or your destination calls for something specific.