Sort Text Lines

Sort, reverse or shuffle lines of text — alphabetically, by length or numerically, with dedupe options.

100% private — everything runs in your browser

How to Use

  1. 1

    Paste or type the lines you want to process.

  2. 2

    Choose a sort mode and switch on dedupe, trim or empty-line removal.

  3. 3

    Click Sort lines or Shuffle, then copy the output.

Examples

Alphabetical list

Input

Banana / Apple / Cherry

Output

Apple / Banana / Cherry

Clean up a list

Input

Apple / apple / Apple / blank line

Output

Apple / apple, empties removed

FAQ

Does it change my original text?

No. Your input stays untouched — the output panel always shows the processed result.

How are duplicates compared?

Duplicates match exactly after trimming, unless case sensitivity is switched off.

Can I sort numbers correctly?

Yes. Numeric mode compares values instead of characters, so 2 comes before 10.

Related Tools