<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Remove duplicate words

Paste your text: repeated words such as “is is” disappear, punctuation and line breaks stay in place, and the removed words are listed with their count. Free, no sign-up.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Remove duplicate words

Options
Remove

How to use it

  1. Paste or type your text.
  2. Choose the mode: only words repeated back to back (the usual typo), or every repeat in the whole text, keeping the first one.
  3. Check the list of removed words, then copy or download the result.

Example

Input

The the meeting is is moved to Friday, and and the room stays the same.

Output

The meeting is moved to Friday, and the room stays the same.

Good to know

  • In “back to back” mode, two identical words count as a repeat only when they are separated by spaces: a comma or a line break between them keeps both.
  • Correct repeats such as “had had” or “that that” are kept by default. Other legitimate ones (“bye bye”, “Bora Bora”) are removed: check the list.
  • Numbers on their own are never removed, and a hyphenated word (“well-known”) counts as one word.

Frequently asked questions

How do I remove duplicate words in an Excel cell?

In Microsoft 365, =TEXTJOIN(" ",TRUE,UNIQUE(TEXTSPLIT(A1,," "))) keeps each word of A1 once. Older versions need a macro. For a column of cells, paste it here, choose “Every repeat in the text” only if words should be unique across the whole column, and paste the result back.

How do I find repeated words like “the the” in Word?

Word’s spelling checker underlines a word typed twice in a row and offers “Delete Repeated Word”. To fix a whole document at once, paste the text here with the default “Words repeated back to back” mode: every “the the” is reduced to “the” and listed.

What is the difference between the two modes?

“Words repeated back to back” only removes a word that directly repeats the previous one (“is is”). “Every repeat in the text” keeps the first occurrence of each word anywhere and removes all later ones, which suits a list of keywords or tags.

Are correct repeats like “had had” kept?

Yes, by default: “had had” and “that that” are grammatical and stay. Other legitimate doubles such as “bye bye” or place names like “Bora Bora” are removed, so check the list of removed words under the result.

How do I remove duplicate words with a regex?

In Notepad++ or VS Code, search for \b(\w+)\s+\1\b with regular expressions on, and replace with $1. That pattern is case-sensitive and also removes correct repeats such as “had had”; this page handles both and lists what it removed.

← Back to all tools