Remove Duplicates

Deduplicate lines, words, or values matched by regex — with a live preview of what stays and what goes.

What you can do

  • Unique lines (emails, IDs, URLs, log lines)
  • Unique words in a block of text
  • Dedupe lines by regex capture (e.g. same email on different rows)
  • Sort, trim, or shuffle input before deduping
  • Copy or download result

Sample list with duplicates loads on first open.

Modes

ModeHow uniqueness works
LinesOne item per line; first occurrence kept
WordsSplit on whitespace; output is space-separated unique words
Custom (Regex)First regex match per line is the key; default pattern matches emails

Comparison

OptionEffect
Case sensitiveExact match
Case insensitiveLowercase compare
Ignore leading/trailing spacesTrim keys

Trim whitespace, Remove empty lines, Sort results (A→Z) available in sidebar.

Preview (Lines / Custom)

Gutter colors: green = kept, red = duplicate removed, muted = empty line.

Quick actions (input only)

Remove empty lines, trim all lines, sort A→Z / Z→A, reverse, shuffle — then dedupe runs again.

Examples

Lines: apple, banana, appleapple, banana

Regex: Lines sharing the same email address collapse to one row even if the rest differs.

Tips

Logs: Paste as lines; use Custom mode if the key is one field.

Alphabetical unique list: Enable Sort results after deduping.

From UUID Generator: Use Remove duplicates toolbar handoff to clean a bulk list.

Keep in mind

Words mode does not preserve line breaks in output. Custom mode uses only the first match per line as the key.

App shortcuts

ActionShortcut
Search tools⌘ K
Close current tab⌘⌥E (Ctrl+Alt+E on Windows)

Note: ⌘W closes the browser tab. ⌘⇧E focuses the Explorer in Cursor/VS Code. Use ⌘⌥E (Ctrl+Alt+E) to close the current tool tab (click inside the app first so the IDE does not steal the shortcut).