Text tool

Duplicate Word Remover

Paste prose, choose whether to keep the first or last occurrence, and remove repeated words locally in your browser.

In-browser processingNo account requiredPrivacy details ↗

Treat uppercase and lowercase spellings as the same word. Maximum 100,000 characters and 25,000 word tokens. Spacing and punctuation stay in place; processing is local.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste up to 100,000 characters containing no more than 25,000 word tokens.
  2. Choose first or last occurrence and optionally ignore case.
  3. Remove duplicates, review the text with spacing and punctuation preserved, then copy it.

Token-aware and bounded

The browser uses Intl.Segmenter word tokens, so punctuation and whitespace remain in their original positions. Input is limited to 100,000 UTF-16 characters and 25,000 word tokens.

Stable occurrence choice

Keep first removes later matching tokens; Keep last removes earlier matching tokens. Case-insensitive mode uses locale-aware lowercasing for comparison while retaining the original spelling of kept words.

GOOD TO KNOW

Common questions

Does the text leave my browser?

No. The operation runs locally in this browser.

Are punctuation and spacing changed?

No. Only duplicate word-token text is removed, so separators remain in their original locations.

Can I keep the last occurrence?

Yes. Select Keep last before running the tool.