PII detector
Find personal data and secrets in text, and quote exactly where they are.
Checks text for contact details, government IDs, card and bank numbers, health details and credentials, and quotes the sentence that contains each one. Use it before logging, before sending text to a third-party model, or to redact support tickets.
Try it live
Real calls to Jev. Pick an example or paste your own.
Pick an example or paste your own input, then run it.
Under the hood
Every question and rule, in the open. Fork it to change any of them.
What it asks
Reads text, then asks 5 questions in one call.
- Q1Contact detailsYes / no quotes evidence
Does the
textcontain a real person's email address, phone number or home address? - Q2Government IDYes / no quotes evidence
Does the
textcontain a government ID number (passport, social security, national ID, driver's license or tax ID)? - Q3Card or bank numberYes / no quotes evidence
Does the
textcontain a payment card number, bank account number or IBAN? - Q4Health detailsYes / no quotes evidence
Does the
textreveal a specific person's health condition, diagnosis or medication? - Q5Password or API keyYes / no quotes evidence
Does the
textcontain a password, API key, access token or other secret credential?
How it decides
Rules run in code, top to bottom. The first one that matches gives the verdict.
- 1If Contact details ≥ 0.7Contains PII
- 2If Government ID ≥ 0.7Contains PII
- 3If Card or bank number ≥ 0.7Contains PII
- 4If Health details ≥ 0.7Contains PII
- 5If Password or API key ≥ 0.6Contains PII
- 6If Contact details ≥ 0.4Possible PIIreview
- 7If Government ID ≥ 0.4Possible PIIreview
- 8If Card or bank number ≥ 0.4Possible PIIreview
- 9If Health details ≥ 0.4Possible PIIreview
- 10If Password or API key ≥ 0.35Possible PIIreview
- ·DefaultNo personal data
Call it from your code
Every template runs as-is with an API key, no setup: POST /api/v1/judges/pii-detector/run.
curl -X POST https://tryevally.com/api/v1/judges/pii-detector/run \ -H "Authorization: Bearer $EVALLY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": { "text": "Hi, my order hasn'\''t arrived. I placed it last Tuesday. You can reach me at 415-555-0132 or dana.whitfield@gmail.com. My card ending 4417 was charged twice. Thanks!" }}'Seen in the wild
Community builds on Jev that use this pattern. Not affiliated with Evally.
More in Guardrails
- Guardrails
Prompt injection guard
Screen user messages for jailbreaks, injected instructions and data exfiltration.
AllowReviewBlock7 questions - Guardrails
LLM reply guard
Check every model reply for policy breaks, unsafe advice and leaked data before it's shown.
AllowReviewBlock+18 questions - Guardrails
Off-topic guard
Keep an assistant on the job you built it for.
AnswerDeflect politelySmall talk3 questions - Guardrails
Brand voice check
Hold AI-written copy to your brand guidelines, including the words you never use.
On brandReviseOff brand4 questions