Tools › Entity types

Special-category data

Redact religious beliefs from text, JSON, and CSV

Religious belief is a protected characteristic. In hiring and HR data it is also an easy route to discrimination claims if it leaks alongside an application.

Try it on the live API No signup. 2,000 characters, 20 runs per 10 minutes.
Output appears here.

How Redactly detects religious beliefs

  • Detected by the model from free text; there is no reliable pattern.
  • Covers affiliation, practice, and belief statements rather than only explicit labels.
  • Reported as its own entity type so you can apply a handling policy separately from other categories.

Why redact religious beliefs?

Protected-characteristic data in an HR export is a discrimination risk as well as a privacy breach.

Example request

curl -X POST https://api.bitbanger.in/v1/redact \
  -H "X-API-Key: rdct_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text": "Candidate requests Friday prayer accommodation.", "style": "replace"}'

Every hit in the response carries entity, text, start, and end. The offsets index into the text you sent, so you can apply the redactions to your own copy of the document. The full response schema is in the API reference.

Questions

Does Redactly redact religious beliefs automatically?

Yes. Send text to the API and every detected type is redacted, including religious beliefs. To redact only this type, pass the value special.religion in the entities filter. No training or configuration is required.

What happens to religious beliefs after redaction?

With style set to replace, each match becomes [special.religion] — the entity type in square brackets. Setting style to mask replaces every character with a block character, and remove deletes the span entirely.

Related entity types

Redact religious beliefs in production

Get an API key and send your first request in a minute. Plans start at $24/month.

See pricing