Skip to main content
Runs in your browser

Sort Lines / List

Sort lines ascending or descending with numeric, case-sensitive, trim, unique, and empty-line options.

Result

What this tool does

Sort Lines turns newline-separated text into an ordered list using browser locale comparison or numeric sorting. Optional cleanup can trim whitespace, remove empty lines, and keep only the first occurrence of duplicate lines.

What to expect

Locale sorting can differ between browsers or languages, and numeric mode falls back to text comparison for lines that are not finite numbers. Removing duplicates may intentionally discard repeated content.

Browser-based privacy

The text you enter is processed locally by this browser tool. Tooliyapa does not send it to a text-processing backend as part of this workflow. Normal website delivery, advertising, consent, and other third-party services operate separately from the tool logic; see the Privacy Policy for the broader site data picture.

Related text tools