SafeToolkits

Line Sort/Dedupe

Sort lines, remove duplicates and blanks.

Runs in your browser: what you paste is never uploaded

How to use Line Sort/Dedupe

  1. 1Paste or type your inputUse the box above, or click Sample to try it with an example.
  2. 2Choose your optionsChoose the sort order, natural sorting (item2 before item10), case sensitivity, and whether to dedupe, trim or drop blank lines.
  3. 3Copy the resultCopy it with one click. Nothing is sent anywhere.

About Line Sort/Dedupe

Sort lines alphabetically, by length or in reverse, remove duplicates and blank lines, and trim whitespace.

Frequently asked questions

What is natural sort?

It compares numbers inside text by value, so file2 comes before file10 instead of after it.

Does dedupe keep the first occurrence?

Yes. Duplicate lines are removed and the first one is kept.

Is what I paste sent anywhere?

No. The tool runs entirely in your browser and never sends what you type or paste to a server.

Is it free?

Yes. It's free, with no sign-up and no limits.

Related tools