Remove Duplicate Words
Two jobs that share a name
'Remove duplicates' means one thing for a list and another for a paragraph. A keyword list with 'apple' three times has two entries too many; a paragraph with 'the' forty times has none — they are all doing work. This tool therefore opens with the mode choice and means it: list mode dedupes a collection (split on spaces, commas, semicolons or line breaks, first occurrence kept, your choice of output separator), while prose mode performs the narrow, safe edit of collapsing words typed twice in a row. Both report what they removed, because the removed list is diagnostic: unexpected duplicates usually mean something upstream merged badly.
Worked examples
List mode: 'apple banana apple orange banana kiwi orange' → apple banana orange kiwi — 4 kept of 7, with apple, banana and orange reported as the duplicated words.
Case: 'Apple apple APPLE banana' → case-insensitive: Apple banana (first spelling kept); case-sensitive: all four survive, because they are four different strings.
Prose mode: 'the the cat sat sat on the mat' → 'the cat sat on the mat' — only the adjacent accidents removed.
Deduping lines, names and emails too
The same first-occurrence logic cleans more than word lists. Paste a column of names, email addresses or product titles and list mode treats each whitespace-separated token separately — which is right for tags and keywords, but for multi-word entries (names, titles) you will want each line treated as one entry: prepare such a list one entry per line with no spaces inside entries split across lines, or dedupe it in a spreadsheet where a line is a row. The honest boundary of this tool is the token: it is built for words and short codes, and it says so, rather than pretending to parse names it cannot see. Within that boundary it is exact — and the duplicates report will still catch the repeated full names whose first and last words repeat, which is often enough to spot the problem rows.
Frequently asked questions
What is the difference between the two modes?
They solve different problems that share a name. List mode treats your text as a collection — keywords, tags, names, SKUs — and keeps each distinct word once, wherever its repeats occur: 'apple banana apple' becomes 'apple banana'. Prose mode treats your text as writing and removes only back-to-back accidents — 'the the cat' becomes 'the cat' — leaving deliberate repetition ('very very good', 'had had', a chorus) untouched unless it is literally adjacent, and even then you should read before you keep the result. Choosing wrong is the commonest way this tool surprises people: run prose through list mode and you will delete every second 'the' in the document, wrecking it. The mode names say which text they are for; when in doubt, prose mode is the safe one for sentences.
Should deduplication be case-sensitive?
It depends on whether case carries meaning in your list. For ordinary word lists — keywords, tags, ingredients — case is an accident of typing, so case-insensitive is right: 'Apple', 'apple' and 'APPLE' are one entry, and the tool keeps the first spelling it met. For code identifiers, product codes, chemical symbols or passwords, case is the meaning: 'Co' (cobalt) is not 'CO' (carbon monoxide), and 'Ab123' is not 'ab123'. The toggle exists for exactly this reason, and its default here is case-insensitive because most lists pasted into a tool like this are natural-language lists. The result panel shows how many entries were removed under the setting you chose, so a surprising count is your cue to flip it and compare.
What counts as a 'word' here — what about punctuation and numbers?
In list mode, a word is a run of characters separated by spaces, line breaks, commas or semicolons — so 'apple,' and 'apple' arrive as the same token once separators are stripped, but 'apple-pie' is one word, hyphen and all, and 'abc123' is a word too. Punctuation attached inside a token stays attached: 'end.' and 'end' would count as different entries, which is why lists exported from documents sometimes dedupe less than expected. If that is your situation, clean the punctuation first (or accept the tool's count as a prompt to eyeball the near-duplicates it lists as removed). Prose mode is gentler: it matches whole words with their boundaries, so 'the, the' with a comma between them is not treated as a doubled word — the comma means a human probably meant something by it.
Why would a word list have duplicates in the first place?
Because lists accrete. Keyword research merges five tools' exports; a tag list grows across years of posts; customer names arrive from three spreadsheets with three spellings of the same person. Duplicates in such lists are not cosmetic: repeated keywords cannibalise each other's pages, repeated tags fragment an archive, and a mailing list with duplicates mails people twice — the fastest way to look careless at scale. Deduplication is the cheap first pass of data hygiene, and doing it on first occurrence (as this tool does) preserves the order you curated, which usually encodes priority. The removed-words report matters as much as the cleaned list: a duplicate you did not expect is often a symptom — two systems writing to one list, or a merge that went wrong upstream.
Is my text uploaded or stored?
No. Like every tool on this site, the deduplication runs entirely in your browser: the text you paste is processed by JavaScript on this page and never leaves your device — no upload, no storage, no account. That makes it safe for the lists people actually need cleaned, which are often the sensitive ones: customer names, internal keywords, unpublished tags. You can verify the claim the way you would verify any such claim: load the page, disconnect from the network, and the tool still works, because there is nothing for it to phone home to. The copy button places the cleaned text on your clipboard; what you do with it from there is your business in the literal sense.
Related tools
Deduplication behaviour and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.