securityprivacypiidata-protectioncompliance

PII Detector

Identify and mask personally identifiable information in your text to ensure data privacy and compliance.

Advanced security tool that scans text for sensitive data like names, emails, and phone numbers. It provides automated masking capabilities to protect user privacy and meet regulatory requirements.

POST/api/trpc/piiDetector.detect
5 tokens / callAPI online

How it works

Three steps. No complex setup.

1

Text Analysis

The engine scans the input text using advanced pattern matching and NLP to identify potential PII entities.

2

Entity Classification

Detected items are categorized into types such as names, emails, phone numbers, or addresses.

3

Masking & Reporting

If requested, sensitive data is masked, and a detailed report with risk levels and entity locations is generated.

Who is it for?

Developers
Security Officers
Data Analysts
Compliance Managers
Privacy Experts

Response example

Real input and output. What you send and what you get back.

// Input

{
  "text": "Contact John Smith at [email protected] or call +1-555-123-4567",
  "mask": true
}

// Output

{
  "contains_pii": true,
  "pii_count": 3,
  "entities": [
    {
      "type": "name",
      "value": "John Smith",
      "masked": "****",
      "start": 8,
      "end": 18
    },
    {
      "type": "email",
      "value": "[email protected]",
      "masked": "****@****.***",
      "start": 22,
      "end": 42
    },
    {
      "type": "phone",
      "value": "+1-555-123-4567",
      "masked": "+*-***-***-****",
      "start": 51,
      "end": 66
    }
  ],
  "masked_text": "Contact **** at ****@****.*** or call +*-***-***-****",
  "risk_level": "high",
  "categories": [
    "name",
    "email",
    "phone"
  ],
  "error": null
}

Try it now

// live demo — no account needed to try

Playground

Demo activa5 tokens

Integrate into your project

Copy and paste. Replace YOUR_API_KEY with your real key.

curl -X POST https://jsnhengine.com/api/trpc/piiDetector.detect \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"json": {"text":"Contact John Smith at [email protected] or call +1-555-123-4567","mask":true}}'

Why choose JSNH Engine Lab

Low latency

Responses in under 200ms

Secure authentication

API keys with per-plan rate limiting

Usage tracking

Every request logged with metrics

Production ready

Input validation and typed errors

Frequently asked questions

Everything you need to know before integrating.

Other modules

Expand your integration with more APIs from the catalogue.

// production ready

Start using PII Detector

Sign up free and get 1,000 tokens to start. No credit card. No complex setup.