Sort lines

Sort a list of lines alphabetically (with Italian or English rules), naturally, by length, by frequency, in reverse or randomly. Remove duplicates, blank lines and spaces, count occurrences, add a prefix, a suffix or numbering.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Sorting
Cleaning
Additions

Order of operations

First it trims spaces and removes blank lines, then duplicates (keeping the first occurrence), then sorts, and finally adds count, prefix, suffix and numbering.

Proper alphabetical order

It uses the browser's comparison (Intl.Collator): accented letters sit next to their base ("è" beside "e") and, ignoring case, "a" and "A" are equal. With natural order numbers are compared as numbers.

Privacy

The lines stay in your browser. Random order uses the system's cryptographic generator.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain