Text Line Tools

Paste a list and clean it in one pass: sort alphabetically or numerically, remove duplicate lines, trim whitespace, strip accents and delete blank lines. Nothing leaves your device.

Free Runs locally No signup
Sort
Input0 lines
Result0 lines
Cleaned lines appear here.
0 lines · 0 unique · 0 characters

How to use it

1

Paste your list

Add one item per line in the left pane, or start typing directly.

2

Pick the clean-up steps

Toggle trimming, duplicate removal, sorting, numbering and the other options.

3

Copy the result

The right pane updates instantly; copy the cleaned list with one click.

Why use this tool

One pass, many fixes

Trim, dedupe, sort, number and clean accents without opening a spreadsheet.

Case-insensitive dedupe

Treat “Apple” and “apple” as the same line while keeping the first spelling.

Live counts

See how many lines went in, how many survived and how many are unique.

Frequently asked questions

Which duplicate is kept?
The first occurrence is kept and later copies are removed. Enable case-insensitive matching to also merge lines that differ only by capitalisation.
How does numeric sorting work?
Each line is compared by the first number it contains, so “item 2” comes before “item 10”. Lines without a number are placed at the end.
What does stripping accents do?
It converts accented letters to their base form, so “café” becomes “cafe”. The change is applied to the output only, never to your original input.
Can I keep empty lines?
Yes. Turn off “remove empty lines” to preserve blank lines in the output.
Is the text uploaded?
No. The list stays in your browser and is processed on your device.

Related tools

Last updated: