🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
PIIP – PII Protection icon
Actively maintained Tested with WP 7.1 #8 in data protection

PIIP – PII Protection

Automatically detects and masks PII in WordPress comments and forms to protect user privacy and support your GDPR compliance efforts.

Active installs<10New
Downloads · 30d127▲ +10.4% vs prev. 30d
Rating—0 reviews
Health score60/100Fair
All-time downloads989Since Dec 2025
Support resolved—No recent threads
RequiresWP 6.9PHP 8.2+
Downloads · 7d28▼ -39.1% week over week
Our verdict

Use with caution

PIIP – PII Protection works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far
  • Needs PHP 8.2 or newer

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

112233Sep 5Oct 19Dec 3
Yesterday5
Daily average (1y)3
Peak day45Oct 3, 2026
Last 12 months992

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where PIIP – PII Protection stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
data protection >100 5,874 Best data protection plugins →
GDPR >100 4,285 Best GDPR plugins →
PII #26 332 Best PII plugins →
privacy >100 10,000 Best privacy plugins →
security >100 10,000 Best security plugins →

About PIIP – PII Protection

From the official readme · v1.8.0

Description

PIIP (PII Protection) is a plugin that automatically detects and masks personally identifiable information (PII) in WordPress comments and community plugin content before the data is saved to your database. This helps protect user privacy and supports your compliance efforts under privacy regulations such as the GDPR. Note that PIIP is a technical tool and does not by itself make your site GDPR compliant.

Key Features

  • Automatic PII Detection: Intelligently detects multiple types of PII including emails, phone numbers, addresses, credit cards, SSN/My Number, passwords, API tokens, IP addresses, and hosting account IDs
  • Server-Side Masking: All masking happens on the server (PHP) for maximum security – cannot be bypassed by users
  • WordPress Core Support: Native support for WordPress comments – from the comment form, the REST API (including block editor notes) and later edits – with per-type selection (comments, product reviews, notes, other types)
  • Commenter IP Anonymization: Optionally store commenter IP addresses anonymized (192.0.2.123 → 192.0.2.0), the same way WordPress anonymizes them for personal data erasure
  • Inquiry-Style Text Protection: Catches contact details posted to a forum by mistake instead of a contact form – labeled names, furigana, addresses, phone numbers, member/login IDs, card expiry dates and security codes (お名前:… / 住所:… / Name: … / Address: …)
  • Full-Width Aware: Full-width digits and symbols typed with a Japanese IME (090-1234-5678, taro@example.jp) are detected; text outside masked parts keeps its original width
  • Image Location Removal: GPS coordinates and author/device identifiers are removed from uploaded photos (JPEG, WebP, PNG, HEIC/AVIF) without re-encoding – WordPress otherwise keeps them in the original upload and, with ImageMagick, in every resized copy
  • Abilities API: piip/mask-text and piip/scan-content abilities let MCP clients and AI agents mask text and audit stored content without ever receiving raw PII
  • Community Plugin Support: Works seamlessly with wpForo, BuddyPress, bbPress, and other popular community plugins
  • Configurable: Choose which PII types to mask via easy-to-use settings page
  • Consent Opt-Out: Users can include consent phrases to skip masking when sharing personal info publicly
  • Presidio-Level Detection: High-accuracy detection with validation (Luhn for credit cards, check digits for My Number)
  • Retroactive Scan: Scan content that existed before installing PIIP and apply masking after a dry-run review
  • Custom Patterns: Mask site-specific identifiers (employee IDs, member numbers) with your own regular expressions
  • WP-CLI Support: wp piip mask and wp piip scan commands for automation and large sites

Supported PII Types

  • Email addresses (example@domain.com → e***@domain.com)
  • Phone numbers (Japanese mobile/landline, parenthesized 03(1234)5678, toll-free/navi dial 0120/0570, international, US formats)
  • Japanese street addresses in free text (東京都新宿区西新宿2-8-1 → 東京都) and labeled postal codes (〒123-4567 → 〒-****)
  • Credit card numbers with Luhn validation (4532-1234-5678-9014 → ****-****-****-9014)
  • Social Security Numbers / Japanese My Number with check digit validation
  • Passwords, including labeled values in free text (password: xxx / パスワードは xxx / PW: xxx → [REDACTED]) and pasted configuration (define( ‘DB_PASSWORD’, ‘…’ ), SMTP_PASSWORD=…, aws_secret_access_key = …)
  • HTTP credentials: Basic auth (curl -u, Authorization: Basic, user:pass@host URLs) and Bearer tokens (including JWTs)
  • Developer secrets: GitHub, GitLab, Slack (tokens and webhooks), Discord webhooks, AWS, Stripe, Google OAuth, SendGrid, npm, Twilio, Mailgun, Shopify, Telegram, DigitalOcean tokens and SSH/PEM private key blocks
  • API Tokens/Keys (partial masking showing first and last 4 characters)
  • AI API Keys (OpenAI sk-***, Anthropic sk-ant-***, Google AIza***, Hugging Face hf_***, Replicate r8_***, Cohere, Azure OpenAI)
  • Labeled dates of birth (生年月日: 1990-01-15 → ****-–)
  • Labeled bank account numbers (口座番号: 1234567 → ***4567)
  • Labeled contact details in inquiry-style text: name, furigana, address, phone, member/login ID, card expiry and security code (お名前:山田 太郎 → お名前:山* 太*)
  • Labeled ID document numbers: passport, driver’s license, health insurance, basic pension, residence card
  • Japanese addresses written without the prefecture, for designated cities and Tokyo’s 23 wards (横浜市中区山下町1-2-3 → 横浜市***)
  • Names in self-introduction phrases (山田太郎と申します → 山***と申します; opt-in, off by default)
  • IP Addresses: IPv4 (192.168.1.1 → 192...1) and IPv6, including compressed forms (2001:db8::8a2e:370:7334 → 2001:db8:***)
  • Hosting Account IDs (XServer, Sakura, AWS, Azure, GCP, ConoHa, Lolipop, mixhost)

Supported Integrations

  • WordPress Core
    • Comments (comment form, REST API, edits; selectable types: comments, product reviews, block editor notes, other types)
    • Commenter IP addresses (optional anonymization)
    • User Profiles (display name, nickname, biographical info)
  • Form Plugins
    • Contact Form 7 (free-text fields; protects sent mail and stored copies such as Flamingo)
  • Community Plugins
    • wpForo Forum
    • BuddyPress
    • bbPress
  • More integrations coming soon!

How It Works

  1. User posts a comment or content in a community plugin
  2. PIIP intercepts the submission before database save
  3. Automatically detects PII using field names, regex patterns, and validation
  4. Masks detected PII according to your settings
  5. Content saves normally with masked data

Privacy & Security

  • All processing happens on YOUR server (no external API calls)
  • Original values are NEVER stored for maximum privacy protection
  • Server-side processing prevents client-side bypass attempts
  • Full control over your data

Privacy Policy

PIIP – PII Protection does NOT:
* Send any data to external servers
* Track users
* Use cookies
* Share data with third parties

PIIP DOES:
* Process content locally on your server
* Automatically mask PII without storing sensitive data
* Optionally anonymize the IP addresses stored with comments

Support

For support, bug reports, or feature requests:
* Website: https://github.com/benridane/piip

Development

Development happens on GitHub. Pull requests welcome!
* Follow coding standards
* All code must pass composer run phpcs

Installation

Automatic Installation

  1. Log in to your admin panel
  2. Go to Plugins → Add New
  3. Search for “PIIP” or “PII Protection”
  4. Click “Install Now” and then “Activate”
  5. Go to Settings → PII Protection to configure

Manual Installation

  1. Download the plugin ZIP file
  2. Upload to /wp-content/plugins/piip directory
  3. Activate the plugin through the ‘Plugins’ menu
  4. Go to Settings → PII Protection to configure

After Activation

  1. Navigate to Settings → PII Protection
  2. Enable/disable desired integrations (Comments, wpForo, BuddyPress, bbPress)
  3. Select which PII types to mask
  4. Configure consent phrases for opt-out feature
  5. Save settings
  6. Test with a post or comment to verify masking is working

Changelog

Uploaded photos lose their GPS location and author/device IDs (on by default, no re-encoding). Use Tools > PII Scan > Images to clean images uploaded earlier.

1.8.0 – 2026-10-03

  • New: Location and identifying metadata are removed from uploaded images (JPEG, WebP, PNG, HEIC/AVIF): GPS coordinates in EXIF and XMP, XMP location fields, and (optionally) author, owner name and camera/lens serial numbers. Files are edited in place without re-encoding; orientation, color profile, camera model and date are kept. Both options are on by default (Settings → PII Protection → Uploaded Images)
  • New: The EXIF author (“credit”) is no longer stored in media data exposed by the REST API
  • New: “Images” target for the PII scan (Tools → PII Scan, wp piip scan --target=images, and the piip/scan-content ability) to find and clean images uploaded earlier
  • New: piip_scrub_image, piip_image_scrubbed and piip_image_scrub_max_size hooks
  • Fixed: The card number example in the readme was not a valid (Luhn) number

1.7.0 – 2026-09-28

  • New: Choose which comment types are masked – comments, product reviews, block editor notes, and other types (pingbacks, trackbacks, custom types). Notes are off by default
  • New: Optional anonymization of commenter IP addresses (Settings → PII Protection → Commenter IP addresses)
  • New: Abilities API support – piip/mask-text and piip/scan-content abilities for MCP clients and AI agents; results never include raw PII
  • New: piip_mask_comment_type filter to decide per comment type whether a comment is masked
  • New: Inquiry-style text protection (new PII type “Labeled contact details”, on by default) – labeled names, furigana, addresses, phones, member/login IDs, card expiry and security codes, as posted when a forum is mistaken for a contact form
  • New: Labeled ID document numbers (new PII type, on by default) – passport, driver’s license, health insurance, basic pension and residence card numbers
  • New: Full-width digits and symbols are detected (090-1234-5678, taro@example.jp); text outside masked parts keeps its original width
  • New: More phone formats – 03(1234)5678, 090(1234)5678, 0570/0990 numbers, US 1-800-555-0199
  • New: Amex (4-6-5) and Diners (4-6-4) card groupings
  • New: More password labels (PW, P/W, PIN, passcode, ログインパス) and pasted configuration secrets (define( ‘DB_PASSWORD’, … ), *_PASSWORD=, *_SECRET=, *_TOKEN=, api_key=)
  • New: More service tokens – Google OAuth, Stripe test/restricted/webhook secrets, SendGrid, npm, GitLab, Twilio, Mailgun, Shopify, Telegram, DigitalOcean, Slack and Discord webhook URLs
  • New: Japanese addresses without the prefecture for designated cities and Tokyo’s 23 wards
  • New: piip_text_rules filter to add or change free-text detection rules
  • Changed: Detection and masking now share one set of rules, so the preview, the PII scan and the Abilities API report exactly what masking handles
  • New: IPv6 addresses in text are masked, including compressed forms (2001:db8::1 → 2001:db8:***)
  • Security: Fixed a stored XSS where a private key block spanning HTML markup could rewrite tag attributes in integrations that mask after HTML sanitization (e.g. BuddyPress activity). Private key matching is now limited to the PEM alphabet, and any masking result that would change the HTML markup falls back to masking text and attribute values separately
  • Security: Custom pattern replacements can no longer contain < > ” ‘ ` (removed on save and at runtime for existing patterns)
  • Fixed: Credit card numbers in text are masked only when they pass the Luhn checksum, so order numbers, JAN codes and other long IDs are no longer masked; fields named as card fields are still masked regardless
  • Fixed: BuddyPress activity links were broken for user names that look like hosting IDs (e.g. abc12345); the generated activity action is no longer masked, and activity content is masked once instead of twice
  • Fixed: Exact field names now take precedence over partial matches (e.g. remote_addr is treated as an IP address, not a postal address)
  • Fixed: Comments created through the REST API (headless front ends, apps, block editor notes) were saved without masking
  • Fixed: Edited comments were saved without masking; only changed fields are masked, so moderation never rewrites older text
  • Fixed: Removing every consent phrase and saving silently re-enabled the default phrases for real submissions, while the preview showed masking
  • Fixed: Consent phrase defaults were different between the settings screen, activation and runtime; they now share one list, and matching is case-insensitive for multibyte text
  • Fixed: Adding a consent phrase or custom pattern after removing a row could overwrite another row on save
  • Fixed: The error shown for a rejected custom pattern now escapes the pattern
  • Tested up to WordPress 7.1

1.6.0 – 2026-07-05

  • New: Japanese street addresses are now detected and masked in free text (prefecture + municipality + block number required, so mere place mentions are untouched); labeled postal codes (〒 / 郵便番号) are masked too
  • New: Labeled passwords in free text (password: xxx / パスワードは xxx) are masked to [REDACTED]
  • New: HTTP Basic auth credentials are masked – curl -u user:pass, Authorization: Basic headers, and user:pass@host URLs (password only)
  • New: Bearer tokens (including JWTs) are masked
  • New: Developer secrets are masked – GitHub, Slack, AWS, Stripe tokens, bare JWTs, and whole SSH/PEM private key blocks
  • New: Labeled dates of birth (生年月日/誕生日/birth date) and labeled bank account numbers (口座番号, 普通/当座) are masked; both can be disabled in settings
  • New: Opt-in masking of names in self-introduction phrases (〜と申します, 名前: 〜); off by default, enable “Names (self-introduction phrases)” in settings
  • Changed: Tokens shorter than 32 characters are now partially masked instead of passing through unmasked
  • Changed: IP address and hosting ID masking can now be toggled in settings (previously always on); the internal mask_hosting_id setting key was migrated to mask_hosting
  • Fixed: The masking preview now uses the exact same per-type enablement rules as real submissions

1.5.0 – 2026-07-05

  • New: PII Scan tool (Tools → PII Scan) – scan existing comments and posts for PII with a dry-run report, then apply masking retroactively
  • New: Contact Form 7 integration – masks free-text (message) fields in submissions, protecting both the sent mail and stored copies (e.g. Flamingo); name/email fields are kept for replies
  • New: User Profiles integration – masks PII written into publicly visible profile fields (display name, nickname, biographical info)
  • New: Custom patterns – define your own regex patterns and replacements in the settings for site-specific identifiers (employee IDs, member numbers, etc.)
  • New: WP-CLI commands – wp piip mask and wp piip scan --apply for large sites and CI
  • Fixed: Enabled integrations (e.g. Comments) were inactive until the settings were saved once, due to a settings key mismatch in the activation defaults
  • Fixed: Ordinary words were reported as GCP hosting IDs in the preview/scan detection breakdown, flagging almost every text as containing PII

1.4.1 – 2026-07-02

  • New: Masking Preview tool on the settings page – type sample text and see the masked result in real time
  • New: Field name + value preview mode for testing field-based detection (e.g. password fields)
  • New: Detected PII breakdown with type, confidence score, and actual masking status
  • New: Consent phrase bypass indication in the preview
  • Fixed: Japanese toll-free numbers (0120-xxx-xxx, 0800-xxx-xxxx) were detected but not masked in free text content

1.4.0 – 2026-02-07

  • New Feature: AI API Key Detection and Masking
  • Added: Support for 10 AI service providers (OpenAI, Anthropic Claude, Google AI, Hugging Face, Replicate, Cohere, Azure OpenAI, and more)
  • Added: Automatic detection of AI API keys in comments and form submissions
  • Added: Pattern-based detection for sk-, sk-proj-, sk-ant-, AIza, hf_, r8_ prefixed keys
  • Enhanced: Token masking now includes AI-specific key patterns
  • Enhanced: Comment integration now masks AI API keys in text content
  • Security: Prevents accidental exposure of AI API credentials in public content
  • Tested: 100% test coverage with 35 test cases across 3 test suites

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best PIIP – PII Protection alternatives

All data protection plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Gravity Forms Data Purge Gravity Forms Data Purge Simple plugin to purge data from Gravity Forms Entries that are older that a certain number… by Andrew Dixon 50+ ★★★★★★★★★★ No reviews 9 years ago 25
2 DPDPA Compliance India DPDPA Compliance India Help Indian websites comply with the Digital Personal Data Protection Act (DPDPA), 2023. by Vivek 10+ ★★★★★★★★★★ No reviews 3 weeks ago 66
3 WP-HR GDPR: GDPR Tools for Human Resources on WordPress WP-HR GDPR: GDPR Tools for Human Resources on WordPress Now you can manage HR (Human Resource) GDPR processes from within your website with our… by wphrmanager 10+ ★★★★★★★★★★ No reviews 5 years ago 23
4 Database Anonymization Free Edition Database Anonymization Free Edition Anonymize personal data (PII) in WordPress databases to prevent PII in dev/test… by robinlopulalan 10+ ★★★★★★★★★★ 5 (1) 6 months ago 52
5 UK GDPR Compliance Checker UK GDPR Compliance Checker Scans your WordPress site for GDPR compliance issues and missing legal documents. Built for… by georgelane2 <10 ★★★★★★★★★★ No reviews 10 months ago 36
6 aGo Legal aGo Legal Cookie consent banner, privacy and cookie policy generators, audit-ready consent log… by Ago lab <10 ★★★★★★★★★★ No reviews 3 months ago 54
7 DataRights for WooCommerce DataRights for WooCommerce Privacy assessment & guidance for WooCommerce stores under Chilean Law 21.719. by pablomillaquen <10 ★★★★★★★★★★ No reviews 3 months ago 60
8 360 Orbit Privacy Toolkit 360 Orbit Privacy Toolkit Anonymizes comment IPs automatically, suggests a privacy-policy text block and (Pro) cleans… by 360degrees.at <10 ★★★★★★★★★★ No reviews 7 days ago 64
9 Never Expire Submissions for Gravity Forms Never Expire Submissions for Gravity Forms Prevents automatic deletion of incomplete Gravity Forms submissions by extending the… by Artur Nalobin <10 ★★★★★★★★★★ No reviews 1 year ago 30
10 DPDP Compliance DPDP Compliance SG2 DPDP Compliance tools for WordPress: consent, data requests, retention rules, and… by Gopi Narayanaswamy <10 ★★★★★★★★★★ No reviews 1 year ago 30

FAQ

PIIP – PII Protection: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is PIIP – PII Protection free?

Yes. PIIP – PII Protection is free to download and use from the official WordPress.org plugin directory.

Is PIIP – PII Protection safe to use in 2026?

PIIP – PII Protection works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use PIIP – PII Protection?

PIIP – PII Protection is active on <10 WordPress websites and has been downloaded 989 times since it launched in December 2025. It was downloaded 127 times in the last 30 days.

Does PIIP – PII Protection work with WordPress 7.1?

Yes. The developer has tested PIIP – PII Protection up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.

What PHP version does PIIP – PII Protection need?

PIIP – PII Protection requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was PIIP – PII Protection last updated?

The latest version, 1.8.0, was released on October 3, 2026 (2 months ago).

Who makes PIIP – PII Protection?

PIIP – PII Protection is developed and maintained by miya.

What are the best alternatives to PIIP – PII Protection?

The most popular alternatives to PIIP – PII Protection are Gravity Forms Data Purge (50+ installs), DPDPA Compliance India (10+ installs) and WP-HR GDPR: GDPR Tools for… (10+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open