# PII entity types

> The 40 entity types Redactly detects, grouped by category, each with detection rules and an example request.

Canonical: https://bitbanger.in/entities/
Last updated: 2026-10-27

## Contact details

Ways to reach a person: addresses, email, phone, IP, postal codes.

- [Email addresses](https://bitbanger.in/entities/email) — `contact.email`. Redact email addresses from text, JSON, and CSV with one HTTP call. Returns exact character offsets and keeps your structure intact.
- [Phone numbers](https://bitbanger.in/entities/phone) — `contact.phone`. Redact phone numbers in national and international formats from text, JSON, and CSV. Model-gated, so dates and ID numbers are not mistaken for numbers.
- [Street addresses](https://bitbanger.in/entities/address) — `contact.address`. Redact postal addresses from free text and structured payloads, including partial street names the model only half-captures.
- [Postal codes](https://bitbanger.in/entities/postal-code) — `contact.postal_code`. Redact ZIP and postcode values in US 5-digit, ZIP+4, and UK formats from text and tabular data.
- [IP addresses](https://bitbanger.in/entities/ip-address) — `contact.ip_address`. Redact IPv4 addresses from access logs, error traces, and analytics exports with a format check per octet.

## Credentials and secrets

Keys and tokens that grant access if they leak.

- [API keys](https://bitbanger.in/entities/api-key) — `credential.api_key`. Redact AWS, OpenAI, Anthropic, GitHub, Google, Slack, and Hugging Face API keys from logs and pasted text.
- [JSON Web Tokens](https://bitbanger.in/entities/jwt) — `credential.jwt`. Redact JWTs from debug output, HAR files, and support tickets before they leave your environment.
- [Passwords](https://bitbanger.in/entities/password) — `credential.password`. Redact plaintext passwords from configuration dumps, tickets, and transcripts before they are shared.
- [Private keys](https://bitbanger.in/entities/private-key) — `credential.private_key`. Redact PEM private keys, header and body, from logs and pasted configuration before they are stored or shared.
- [Database connection strings](https://bitbanger.in/entities/connection-string) — `credential.connection_string`. Redact connection strings containing embedded credentials for Postgres, MySQL, MongoDB, Redis, and AMQP.

## Developer identifiers

Identifiers tied to a developer account or session.

- [Device identifiers](https://bitbanger.in/entities/device-id) — `developer.device_id`. Redact device IDs and installation identifiers from analytics payloads and crash reports.
- [Login credentials](https://bitbanger.in/entities/login-credentials) — `developer.login_credentials`. Redact username and password pairs from pasted transcripts, config files, and support threads.

## Device identifiers

Hardware addresses and IMEIs that persist across reinstalls.

- [IMEI numbers](https://bitbanger.in/entities/imei) — `device.imei`. Redact 15-digit IMEI numbers from warranty claims, device logs, and repair tickets.
- [MAC addresses](https://bitbanger.in/entities/mac-address) — `device.mac_address`. Redact hardware MAC addresses from network logs, DHCP dumps, and device inventories.

## Financial data

Cards, accounts, IBANs, wallets, and monetary amounts.

- [Credit card numbers](https://bitbanger.in/entities/credit-card) — `financial.credit_card`. Redact card numbers from text and JSON with Luhn validation, so only real card numbers are flagged and order IDs are left alone.
- [IBANs](https://bitbanger.in/entities/iban) — `financial.iban`. Redact International Bank Account Numbers with mod-97 validation across all SEPA countries.
- [SWIFT/BIC codes](https://bitbanger.in/entities/swift-bic) — `financial.swift_bic`. Redact SWIFT and BIC codes from payment instructions without flagging every all-caps word.
- [Bank account numbers](https://bitbanger.in/entities/bank-account) — `financial.bank_account`. Redact domestic bank account numbers that carry no checksum and no fixed format.
- [Crypto wallet addresses](https://bitbanger.in/entities/crypto-wallet) — `financial.crypto_wallet`. Redact Bitcoin and Ethereum wallet addresses from text, JSON, and support transcripts.
- [Monetary amounts](https://bitbanger.in/entities/amount) — `financial.amount`. Redact prices, salaries, balances, and invoice totals in multiple currencies from text and tabular data.

## Health data

Records, plan IDs, conditions, and medications.

- [Medical record numbers](https://bitbanger.in/entities/medical-record) — `healthcare.medical_record`. Redact MRNs and patient record identifiers from clinical notes, referrals, and export files.
- [Health plan identifiers](https://bitbanger.in/entities/health-plan-id) — `healthcare.health_plan_id`. Redact health plan and insurance member IDs from claims, eligibility files, and billing exports.
- [Medical conditions](https://bitbanger.in/entities/condition) — `healthcare.condition`. Redact diagnoses and medical conditions from clinical notes, claim narratives, and support transcripts.
- [Medications](https://bitbanger.in/entities/medication) — `healthcare.medication`. Redact drug names and prescriptions from clinical text and support transcripts.

## Identity and government IDs

Names and the numbers governments issue to identify people.

- [Social Security numbers](https://bitbanger.in/entities/ssn) — `identity.ssn`. Redact US Social Security numbers in 3-2-4 format from text, JSON, and CSV. Format-matched, with no model dependency.
- [Passport numbers](https://bitbanger.in/entities/passport) — `identity.passport`. Redact passport numbers from travel documents, onboarding packets, and KYC notes.
- [National ID numbers](https://bitbanger.in/entities/national-id) — `identity.national_id`. Redact national identity numbers such as NIN, DNI, PESEL, and similar government identifiers.
- [Driver's licence numbers](https://bitbanger.in/entities/drivers-license) — `identity.drivers_license`. Redact driver's licence numbers from onboarding forms, insurance claims, and fleet records.
- [Tax identification numbers](https://bitbanger.in/entities/tax-id) — `identity.tax_id`. Redact TINs, EINs, and equivalent tax identifiers from invoices, payroll files, and vendor records.
- [Dates of birth](https://bitbanger.in/entities/date-of-birth) — `identity.date_of_birth`. Redact dates of birth in numeric, ISO, and written month formats from text and tabular data.
- [Person names](https://bitbanger.in/entities/person-name) — `identity.person_name`. Redact personal names from free text, including partial names the model only half-captures.

## Legal identifiers

Case numbers that link a document to a proceeding.

- [Case numbers](https://bitbanger.in/entities/case-number) — `legal.case_number`. Redact legal case and docket numbers from filings, correspondence, and legal-ops exports.

## Location data

Coordinates precise enough to find a person.

- [GPS coordinates](https://bitbanger.in/entities/gps-coordinates) — `location.gps_coordinates`. Redact latitude and longitude pairs from delivery records, field-service notes, and mobile telemetry.

## Online presence

Profile URLs and usernames.

- [Profile URLs](https://bitbanger.in/entities/url) — `online.url`. Redact URLs that point at a person, such as profile, portfolio, and social links.
- [Usernames](https://bitbanger.in/entities/username) — `online.username`. Redact handles and account usernames from transcripts, exports, and community data.

## Organisations

Employers and counterparties whose identity is commercially sensitive.

- [Company names](https://bitbanger.in/entities/company-name) — `org.company_name`. Redact organisation and employer names where the counterparty itself is confidential.

## Special-category data

The Article 9 categories GDPR treats as most sensitive.

- [Health status](https://bitbanger.in/entities/health-status) — `special.health_status`. Redact statements about a person's health, disability, or medical status from free text.
- [Religious beliefs](https://bitbanger.in/entities/religion) — `special.religion`. Redact references to religious belief or affiliation from HR records, applications, and free text.
- [Political opinions](https://bitbanger.in/entities/political) — `special.political`. Redact political opinions and affiliations from free text, surveys, and HR records.
- [Sexual orientation](https://bitbanger.in/entities/orientation) — `special.orientation`. Redact references to sexual orientation from free text and HR records.
