RemoveDup.com

📄 INPUT
📋 OUTPUT
In: 0 Out: 0 Removed: 0
How to use RemoveDup.com:
Paste any list into INPUT, set your options, then click ▶ PROCESS. Each line is one item. Advanced mode lets you chain powerful filters and transformations.
📄 Input & Output

Paste text or 📂 Choose File (.txt, .csv, .log). Click ▶ PROCESS to run. ⬇ Download saves the result; 📋 Copy Result copies it. Stats show lines In / Out / Removed.

500 lines pasted → PROCESS → 312 unique valid emails in Output
🔍 Find & Replace

Replaces all occurrences of a plain-text string in every line. Leave Replace empty to delete matches entirely.

Find: @gmail.com → Replace: @company.com
user@gmail.comuser@company.com
➕ Add Prefix / Suffix

Prepends or appends text to every line after all filters are applied. Useful for SQL IN-clauses, JSON arrays, or quoted lists.

Prefix: '   Suffix: ',
alice'alice',
🔠 Case Conversion

Transforms the case of every line. Options: lowercase, UPPERCASE, Title Case (first letter of each word), Sentence case (first letter of line only).

JOHN DOETitle CaseJohn Doe
HELLO WORLDlowercasehello world
🔵 Remove Duplicates on by default

Keeps only the first occurrence of each exact line. Case-sensitive: Alicealice. Combine with Case Conversion to deduplicate regardless of case.

apple
Apple
apple
apple
Apple
📧 Extract Email

Scans each line for an email address and keeps only that address. Lines with no email are dropped. Perfect for cleaning exported contact lists.

Alice Smith <alice@example.com> [VIP]
alice@example.com
✅ Remove Invalid Emails

Keeps only lines that are themselves a valid email address (must match x@x.x pattern). Removes lines that aren't emails at all.

alice@example.com ✓ kept
not-an-email ✗ removed
bob@test.org ✓ kept
🗑️ Remove Empty Lines

Strips lines that are blank or contain only whitespace. Run after other filters that may leave gaps.

apple
 
banana
 
apple
banana
↕️ Reverse Order

Flips the list upside-down — last line becomes first. Useful when a log or export is in reverse-chronological order.

line 1
line 2
line 3
line 3
line 2
line 1
🔤 Sort A → Z

Sorts all lines alphabetically (locale-aware, ascending). Combine with Remove Duplicates for a clean sorted unique list.

banana
apple
cherry
apple
banana
cherry
📏 Sort by Length

Orders lines shortest to longest by character count. Useful for spotting outliers or building nicely-indented outputs.

banana
hi
apple
hi
apple
banana
🎲 Randomize Order

Shuffles lines into a random sequence. Re-click PROCESS for a new shuffle each time.

alice
bob
carol
carol
alice
bob
✂️ Trim Spaces

Removes leading and trailing spaces (and tabs) from each line. Does not affect spaces inside the line.

  alice@example.com  
alice@example.com
🔢 Filter by Length

Keep only lines longer than, shorter than, or equal to a number of characters. Set the condition in the dropdown and the threshold in the number box.

Longer than 5: removes hi, yes but keeps banana
Equal to 11: keeps only 11-char lines
🚫 Remove Lines Starting With

Removes any line whose beginning matches the text or regex you enter. Enable the toggle to activate. Supports regex patterns.

Pattern: ERROR
ERROR: disk full ✗ removed
INFO: all good ✓ kept
🚫 Remove Lines Ending With

Removes lines whose end matches a text or regex pattern. Toggle to activate.

Pattern: \.log
system.log ✗ removed
report.csv ✓ kept
🔎 Keep Only Lines Containing

Acts as a filter — only lines that match your text or regex are kept; everything else is removed. Toggle to activate.

Pattern: @gmail\.com
Keeps only Gmail addresses, removes all others.
🗑️ Remove Lines Containing

The inverse: lines matching your text or regex are removed; the rest are kept. Toggle to activate.

Pattern: unsubscribe
user+unsubscribe@test.com ✗ removed
⚙️ Extract with Regex

For each line, extracts the first match of your regex pattern and uses that as the output. Lines with no match are dropped. Powerful for pulling out specific data.

Pattern: \d{4}
Invoice 2024-03122024
💡 Processing order: Find & Replace → Keep containing → Remove starting/ending → Remove invalid emails → Remove containing → Extract regex → Extract email → Trim → Remove empty → Remove duplicates → Filter length → Prefix/Suffix → Case → Reverse → Sort → Randomize.