Unprofane

Unprofane vs bad-words, obscenity and the npm word lists

Even without the model, the rules catch several times what any npm word list catches, and Scunthorpe gets through.

Toxic text caught, each as shipped
  1. Unprofane89.0%flagging 7.0% of clean text
  2. Unprofane, rules alone53.4%flagging 3.6% of clean text
  3. bad-words9.7%flagging 1.3% of clean text
  4. obscenity8.4%flagging 4.2% of clean text
  5. 2toad-profanity6.1%flagging 0.7% of clean text
  6. leo-profanity5.1%flagging 1.1% of clean text
Disguised spellings caught
86.0%vs2.5% to 7.2%
False positives on innocent words
0.0%vs8.7% to 20.2%

Head to head, the private test set read once on 2026-09-28; the Scunthorpe Test, 2026-10-25. How it was measured

Why Unprofane over bad-words and obscenity

Where bad-words and obscenity fits

When no text may leave your own process.[1]

What it is

bad-words, obscenity, leo-profanity and @2toad/profanity are npm packages that match text against a word list in your own code.[1][2]

Side by side

Each line on bad-words and obscenity cites its own pages, one click away.

WhatUnprofanebad-words and obscenity
Languages, as run here17English
Reads usernames: split into words, read backwardsYesNo
Names how each word was disguisedYesNo
Abuse in ordinary wordsYesNo

See it work

  1. Try to fool it

    The live engine. Type a disguised word and watch it read; type an innocent one and watch it pass.

    Enter to check

  2. Scunthorpe gets through

    Innocent words that contain a profane string are part of the test, and a filter that blocks one is counted wrong.

    0.0%

    false positives on 1,480 innocent words and phrases, the Scunthorpe Test of 2026-10-25

    • Scunthorpeallow
    • Dickinsonallow
    • cockatooallow
    • Sussexallow
    • shiitakeallow
    • breast cancer screeningallow

Make the first call

One request in the language you use. The answer carries the evidence.

curl -X POST https://api.unprofane.com/v1/check \
  -H "Authorization: Bearer up_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"xXsh1tXx","context":"username","policy":"teen"}'
Sources on bad-words and obscenity: its own pages, read October 13, 2026
  1. [1]obscenity (Joseph Liu, on GitHub), obscenity README, version 0.4.6. Read .
  2. [2]bad-words (on GitHub), bad-words README, version 4.1.5. Read .

Other comparisons