{"description":"Redact structured PII from text: emails, phone numbers (NANP + international), credit cards (Luhn-verified), SSNs, IBANs (mod-97 verified), IPv4 addresses.","example_post":"curl -X POST https://pii-redactor-formatho.filesformatho.workers.dev/api -H 'Content-Type: application/json' -d '{\"text\":\"Email jane.doe@corp.com, card 4111 1111 1111 1111, SSN 078-05-1120\",\"mode\":\"redact\"}'","example_get":"https://pii-redactor-formatho.filesformatho.workers.dev/api?text=Reach%20me%20at%20%2B44%207911%20123456&mode=mask","params":{"text":"required — the text to redact (max 1 MB). Prefer POST for real documents.","mode":"\"redact\" (default) — replace matches with [EMAIL]/[PHONE]/[CREDIT_CARD]/[SSN]/[IBAN]/[IP] tokens; \"mask\" — replace with fixed-length mask characters","mask_char":"single character used in mask mode (default \"*\")","types":"comma-separated subset, e.g. \"email,ssn\". Default: all. Valid: email, phone, credit_card, ssn, iban, ipv4","include_positions":"set true to include match offsets (type/start/end) for highlighters. Offsets refer to the input text"},"full_tool":"https://formatho.com/tools/pii-redactor"}