Skip to content

Playground

Explore detection, matching details, and generated code interactively.

Updated View as Markdown

Use the playground to switch dictionaries, test boundaries, and inspect the exact API configuration represented by generated code.

Contains profanity
Yes
Matches
1
isClean()
false

Filtered output

This is ****, but classic stays clean.

Detected matches

1 match
  • Matched word shit
    Character range 8–12
    Language English
Generated example
import { createDetector } from "profanity-kit/core";
import { english } from "profanity-kit/languages/en";

const detector = createDetector({
  languages: [english],
  replacement: "*",
});
detector.filter("This is shit, but classic stays clean.");
Navigation

Type to search…

↑↓ navigate↵ selectEsc close