Skip to main content
SiteIndex

Utilities

Text Line Sorter Documentation

Use the free Text Line Sorter →

Sort lines of text alphabetically, numerically, by length, or in reverse, with duplicate removal.

What does it do?

Sort lines of text alphabetically, numerically, by length, or in reverse, with duplicate removal.

How does it work?

SiteIndex splits your text into lines and reorders them using the sort mode you choose, with an option to remove duplicate lines and trim blank lines before sorting.

When to use it
  • Alphabetize a list of names, tags, or keywords.
  • Sort a list of numbers written one per line.
  • Reverse a list's order or remove duplicate entries before pasting it elsewhere.
Inputs and outputs
Input
Text, files, or values entered in the browser, depending on the tool.
Output
A result shown in the browser that can be reviewed or copied where supported.
Limitations
  • Blank lines are omitted; duplicate removal compares trimmed lowercase keys while retaining the first original line.
  • Numeric mode currently treats non-numeric or empty numeric conversions as zero; inspect mixed data before relying on its order.
Privacy and data handling

Inputs for this browser-side tool are processed locally and are not sent to SiteIndex. Normal page analytics may still be collected as described in the Privacy Policy. Read the Privacy Policy.

How to use it

  1. Paste one value per line.
  2. Choose alphabetical, reverse, length, or numeric ordering.
  3. Optionally remove duplicates, then review and copy the result.

Related tools