Prohibited Words Checker
Scan text for spam keywords and censor them automatically.
Scan text for spam keywords and censor them automatically. Enter your numbers and get an instant result.
Paste a block of text, list the words you want caught, and this page returns the text with every match replaced, plus a count of how many replacements it made. Both panels update as you type; there is no button and no request.
The match is a plain, case-insensitive substring search. Keywords are split on commas, trimmed and lower-cased, and the punctuation that would otherwise be read as regular-expression syntax is escaped, so a keyword containing a dot or a bracket is matched literally rather than as a pattern.
That last detail is the honest limit of the page: it does not know what a word is. Searching for spam also censors the spam inside spammy, because the check is a substring test rather than a boundary test, and an empty keyword list censors nothing.
What a match does to the text
Each occurrence is replaced by the censor character repeated once per character of the keyword, so the line keeps its original length and a reader can see where a word was removed. The counter reports the total matches across every keyword, not the number of distinct words.
Keywords are applied in the order they were typed. Because a replacement is made of censor characters rather than the original letters, a later keyword cannot match inside an earlier replacement.
- Case-insensitive substring matching, not whole words
- Comma-separated list; spaces around a keyword are trimmed
- One censor character, default *
What stays on your machine
The scan is JavaScript in the tab. The text is never sent, stored or logged, and reloading the page restores the example sentence and the default keyword list.
The page is a text filter, not a moderation service. It has no dictionary, no stemming and no language model, so it finds exactly the strings you supply and nothing else; a misspelling or an inflected form is a different string unless you list it too.
How to use the scan panel
Paste the text into the Text to Scan box and list the words to catch in Custom Keywords, separated by commas; choose the replacement in Censor Character. Both panels update on every keystroke, and the counter reports how many matches were replaced.
Check the Censored Result panel against the original before copying it out: anything caught inside a longer word stays caught, which is the substring behaviour rather than a mistake. Reloading restores the example sentence and the default keyword list.
What to Expect
Best for
- Censoring a fixed list of words in an email draft before sharing it
- Checking how often a term appears in a block of copy
- Replacing placeholder names in a sample document
Not ideal for
- Catching misspellings, plurals or inflected forms you did not list
- Moderating user-generated content, which needs a server and a policy
- Removing a word only when it stands alone as a whole word
What this tool keeps
- The original line length, because each replaced character becomes one censor character
- The order of everything that is not a match
- The same result on every reload for the same text and list
What may need cleanup
- Words caught inside longer words, such as spam inside spammy
- Capitalisation, which the match ignores but the replacement loses
- A keyword list that still contains a phrase the page cannot represent
Common errors
- Leaving the keyword list empty and expecting a default list to apply after a reload
- Listing a phrase with a trailing comma, which adds an empty entry that matches nothing
- Assuming a keyword with a full stop is a pattern when it is escaped and matched literally
Example use cases
- Preparing a support reply that must not repeat a customer's swear word
- Counting how many times a brand name appears in a draft
- Redacting a short list of names from a pasted transcript
Sample input
The sentence This scam looks like spam, so it goes in the spam folder, scanned against the keywords spam and scam with the default asterisk.
Sample output
Three matches, with every letter of scam and spam replaced by an asterisk and the rest of the sentence unchanged.
Who this is for
- Writers preparing text for a public page
- Support staff redacting a reply
- Anyone checking a term's frequency in a paragraph
Frequently asked questions
What does the prohibited-words tool do?
It replaces every match in the pasted text with censor characters and reports how many replacements it made, updating as you type.
Does it catch plurals or misspellings?
No. It matches the words you list, so an inflected form or a misspelling you did not list is not caught.
What happens to a word inside a longer word?
Matches are not limited to whole words, so a listed word inside a longer word is caught too.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.