TEXT TOOL

Remove Duplicate Words

Paste a sentence or paragraph and remove repeated words, keeping the first occurrence of each.

About this tool

Scans a sentence or paragraph word by word and removes any word that has already appeared earlier in the text, keeping only its first occurrence. This is different from the Duplicate Line Remover, which compares whole lines — this tool works within a single block of running text.

How to use the Duplicate Word Remover

  1. Paste your text into the input box.
  2. Choose your matching options — ignore case, and ignore punctuation stuck to a word.
  3. Click "Remove duplicate words" and copy the result.

Common use cases

Worked example

The sentence "The the quick brown fox jumps jumps over the lazy dog." contains three repeats: "the" (capitalized differently the second time), "jumps", and a third "the" later on. With Ignore case enabled, "The" and "the" are treated as the same word, so only the first is kept — the result is "The quick brown fox jumps over lazy dog." Turn that option off and "The" and "the" are treated as different words, so both survive.

Things to watch out for

This tool splits text on whitespace and rejoins the surviving words with single spaces, so original line breaks and multiple spaces are not preserved — it's built for tidying a sentence or short paragraph, not for formatting-sensitive text. "Ignore surrounding punctuation" only strips punctuation from the start and end of a word for comparison purposes (so "fox," and "fox" count as the same word) — the punctuation in the output itself is left exactly as you typed it, and punctuation in the middle of a word (like a hyphen) is not touched.

Frequently asked questions

Does this remove duplicate lines, or duplicate words?

Duplicate words, within the flow of a sentence or paragraph. For removing whole duplicate lines from a list, use the Duplicate Line Remover instead.

Which occurrence of a repeated word is kept?

The first one. Every later repeat of the same word (by the matching rules you've chosen) is removed, and the remaining words are joined back together in their original order.

Will "fox" and "fox," be treated as the same word?

Yes, if "Ignore surrounding punctuation" is enabled — punctuation directly attached to the start or end of a word is ignored for comparison, though the punctuation itself is kept in whichever occurrence survives.