DevTools Logo

Profanity Checker

Profanity Checker

Scan text for profanity with severity tiers, leetspeak normalization and local masking.

Runs in your browser
Try an example

Text to moderate

Findings and clean version

No findings yet

Type text above or load the moderation example.

About this tool

A local moderation scan for comments, messages and classroom text. Findings carry the original word, tier, line, column and a short context snippet. Leetspeak and repeated-character normalization catch obfuscation while a shadow index maps hits back to original positions. Whole-word matching prevents the Scunthorpe problem; an allow-list and custom tiered words tune the scan for a specific community. The clean version masks selected tiers with length-preserving asterisks or removes them.

How to use this tool

  1. Paste the text

    Type or paste a comment or message, or load a moderation or leetspeak example.

  2. Tune the scan

    Use whole-word matching by default; enable leetspeak and repeat collapsing for obfuscated text. Add custom banned words as word=tier and legitimate terms to the allow-list.

  3. Review findings

    The summary counts mild, moderate and strong hits; the table gives line, column and context for each one.

  4. Export a clean version

    Choose which tiers to mask and whether to use asterisks or removal, then copy or download the clean text.

Frequently asked questions

Does it detect leetspeak?

Yes. Leet characters such as @, 4, 3, 1, !, $, 5, 7 and 0 are folded to letters on a shadow copy of the text, and runs of three or more identical characters are collapsed. An alignment table maps every hit back to the original characters, so positions remain accurate.

What are the severity tiers?

Mild, moderate and strong. The bundled wordlist assigns each term a tier, and custom words carry a tier you choose. The summary counts each tier, and the masking selector can target strong only, moderate and strong, all tiers, or nothing.

Why does whole-word mode matter?

Substring matching on ass falsely flags class, assessment and countless other innocent words — the classic Scunthorpe problem. Whole-word mode (the default) matches complete tokens. Turn it off for embedded obfuscation and use the allow-list to suppress legitimate terms.

Is my text uploaded?

No. The wordlist, normalization and masking all run in this browser tab. There is no moderation API, no account and no stored copy of the text you paste.

Can I add my own banned words?

Yes. Type word=tier pairs, separated by commas or lines, in the custom words field. Allow-listed terms are never flagged regardless of tier, which is useful for domain vocabulary and names.

What are the limits of a wordlist scan?

It detects listed terms and common obfuscations, not intent. Sarcasm, coded language, hate speech nuance and newly coined slang need human review or an ML system; this tool is a fast local pre-filter, not a complete moderation policy.