Line Tools

Remove duplicate lines, sort them, and number them

calendar_today Last updated: October 9, 2026

9 lines · 8 not blank · 8 unique

7 lines · 1 duplicates removed

Sorting is by character code rather than language rules, so the order is the same on every device — Arabic included. Runs in your browser.

lightbulb

Sahel's line tools sort, de-duplicate, reverse and number lines of text, all in your browser with nothing uploaded.

help_outline

How does this tool work?

1

Paste your text

Each line is one item.

2

Choose an operation

Sort, remove duplicates, reverse, number, or drop blank lines.

3

Copy the result

With line counts before and after.

Frequently asked questions

How do I remove duplicate lines? expand_more
Choose remove duplicates; you can ignore letter case if you prefer.
Does sorting understand numbers? expand_more
Yes. Natural sort puts 2 before 10, unlike plain alphabetical order which puts 10 first.
Does it keep Arabic and other scripts intact? expand_more
Yes, it works with any Unicode text.
Is there a size limit? expand_more
Only your browser's memory; tens of thousands of lines are fine.