Kharabeesh
On-device ع

Remove Duplicate Lines

Remove repeated lines from any Arabic or English list or text, with options to ignore case, surrounding spaces and Arabic diacritics, keep the first or last occurrence, or show only the duplicated lines.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Paste your list or text, one item per line.
  2. Choose how lines are compared: ignore case, spaces or diacritics.
  3. See how many lines were removed, then copy the result.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

When are two lines duplicates?

When they match character for character. You can widen that: ignore English letter case, ignore spaces at the start and end of the line, or ignore Arabic diacritics and tatweel. It does not understand meaning: “Dr. Ahmed” and “Doctor Ahmed” are different lines.

What happens to empty lines?

They stay where they are and are not counted as duplicates, so paragraph spacing is not destroyed. Turn on “Remove empty lines” to drop them.

What is the difference between keeping the first and the last occurrence?

The position of the line in the result, and which copy is kept. “First” leaves the line where it first appeared; “Last” leaves it where it last appeared.

Is my list saved or sent anywhere?

No. Everything happens in your browser and is gone when you close the page.

Related tools