How to Block Swear Words on Any Website
Published: August 31, 2026. Updated: October 2026 by Andrew Apell, who builds PureWord and previously built Flookup Data Wrangler
Quick Answer
Short answer: Install a text filter extension such as PureWord in Chrome, leave the default word list on and add any extra words as word, replacement pairs. It rewrites page text as each page loads, so it covers every site rather than one platform, and it changes nothing for other readers.
Every site has its own idea of clean language, so a single platform setting never covers the whole web. Most people start with the built-in options like YouTube’s “Restricted” mode. That approach works but is blunt. It removes content you might want, it applies only to one platform (YouTube’s restricted mode does nothing for your news sites) and it cannot be finely tuned. A profanity filter works at a different level: it watches the text on the page itself and filters only the words you do not want to see. Everything else stays untouched.
Think of a profanity filter as a pair of noise-cancelling headphones for reading the web: it removes what you do not want without changing anything else.
Because the filtering happens in your browser rather than on a specific platform, one filter covers YouTube, Google, Twitter, Facebook, Reddit, news sites, blogs, forums and every other page you open. That is the purpose of a browser extension like PureWord.
The mechanism is documented rather than proprietary. Chrome's extension platform describes content scripts as files that run in the context of web pages and read the page through the standard Document Object Model, which is what allows an extension to rewrite text after the page arrives (Chrome for Developers, Content scripts, retrieved November 2, 2026).
Key Takeaways
- A browser level filter covers every site in one install, while a platform setting such as YouTube Restricted Mode covers only that platform and cannot be tuned per word.
- Default masking handles common profanity, slurs, acronyms and symbol evasions. Custom word pairs handle everything the dictionary does not know, including usernames and local slang.
- Filtered words can be clicked back to their original form, which is why Parental Lock matters whenever the browser is shared with children.
Step 1: Install a Profanity Filter Extension
Add PureWord from the Chrome Web Store. It is free, installs in a single click and requires no account.
Once installed, PureWord starts working immediately. As each page loads, it scans the visible text and filters profanity in real time. No configuration is required to start. The default dictionary covers common vulgar words, slurs, acronyms (wtf, omfg) and multi-word phrases and it also catches common obfuscations like f*ck and sh*t.
The small badge on the toolbar icon tells you how many words were filtered on the page you are reading.
Step 2: Choose How Filtered Words Are Shown
Out of the box, PureWord masks filtered words with asterisks and keeps the original length so you barely notice them. If you would rather replace profanity with clean alternatives, for example flip for a common expletive or darn for damn, open the options and turn off Mask with Asterisks.
You can also choose a mask style that suits you:
- Asterisks (default): full masking
- First letter: keeps the first letter and masks the rest
- Custom character: use your own mask character
- Blur: the word stays but is blurred and unselectable
Filtered words can be clicked to reveal the original and clicked again to re-filter. A word that matters to you, such as a quote, a place name or an unusual username, is therefore never lost.
Step 3: Customise PureWord
Default filtering is a good starting point, but customisation adds the most value. From the options page (keyboard shortcut Ctrl + Shift + O):
- Add your own word pairs. Type
word, replacementper line and your words take priority over the built-in list. This also lets you block a specific username, an offensive nickname or any term that bothers you personally. - Block words from any page. Select a word, right-click and choose Block "<word>". It is instantly masked everywhere.
- Filter by site. Use Excluded URLs to filter everywhere except a few sites or Included URLs to filter only on specific sites.
- Highlight filtered words so you can see at a glance what was cleaned up.
- Turn the filter on or off per page with the popup toggle or the Ctrl + Shift + F shortcut.
All of this is stored locally in your browser. PureWord does not collect data, does not track you and does not send your browsing content anywhere.
Where a Word List Stops
A dictionary matches words. People writing to get past a filter do not always write words, so the pieces that slip through are structural rather than a gap in the list:
- Letters broken by spaces or symbols. Spacing a word out, or swapping a letter for a similar character, keeps it readable to a person while breaking any token match.
- Letters repeated for emphasis or effect. Stretching a word adds characters that the base entry does not have, so the match misses by a letter.
- Word order that hides the term. A term spread across a line break or split around a mention arrives as two pieces of text and never matches as one.
- Reversed and lookalike text. Unicode controls and near-identical characters change the bytes without changing what a reader sees.
The measured version of this is in the comparison of PureWord and Advanced Profanity Filter, where ten of eighteen written evasion patterns were filtered and the rest were not. The fix is the same one described in Step 3: add the exact spelling that reaches you as a custom word pair, because a pair matches the literal string rather than the base word.
Treat that as maintenance rather than setup. When a comment thread defeats the filter, the useful response is one custom pair for that spelling, not a wider list that starts masking ordinary prose.
Parental Lock
If you are filtering for younger family members, the Parental Lock feature is essential. Once enabled with a password, it stops anyone from changing your filter settings, disables the popup toggle and prevents filtered words from being clicked to reveal the original. A one-time recovery code is your way back in if you ever forget the password.
FAQ
Does it work on YouTube?
Yes. Like every other website, YouTube’s text, including titles, descriptions and comments, is filtered as it loads.
Will it slow down my browser?
No. Filtering runs locally and is designed to be lightweight, processing text in small chunks so page loads are unaffected.
Is my data safe?
Yes. Everything runs on your device. See the privacy policy for details.
Does it filter inside logins, comments and forms?
It filters visible page text and protects input areas so it never interferes with what you type.
What if a filtered word is actually needed?
Click it to reveal the original. Under Parental Lock this is disabled deliberately.
Summary
Blocking swear words on the web used to mean blocking whole sites or switching platforms. A profanity filter is cleaner, faster and fully under your control. Install PureWord, let it run and browse as usual. The filter will be barely noticeable, which is the intended effect.
Related Articles
Block Swear Words Everywhere, for Free
PureWord filters profanity in real time on every site you visit. 100% private, no account needed.
Add to Chrome