Sensitive Data Masker
Automatically detect and mask sensitive information like phone numbers, emails, ID cards, and bank cards in text
API Documentation
Request Endpoint
POST /en/api/tools/sensitive-data-masker
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| text | textarea | Yes | - |
| maskPhone | checkbox | No | Detect and mask phone numbers (China, US, and international formats) |
| maskEmail | checkbox | No | Detect and mask email addresses |
| maskIdCard | checkbox | No | Detect and mask ID card numbers (Chinese ID, US SSN, etc.) |
| maskBankCard | checkbox | No | Detect and mask bank card numbers (Visa, Mastercard, Amex, etc.) |
| preserveDigits | number | No | Number of digits to preserve at the beginning and end |
| maskChar | select | No | Character to use for masking |
Response Format
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
JSON Data:
JSON Data
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-sensitive-data-masker": {
"name": "sensitive-data-masker",
"description": "Automatically detect and mask sensitive information like phone numbers, emails, ID cards, and bank cards in text",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=sensitive-data-masker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]