Redact personal data from text before sending it to an LLM
Maine Wayne
Replace e-mails, phone numbers, IBANs, card numbers, national ID numbers, IP addresses and API keys in a text with placeholders such as [EMAIL_1], so the text can be sent to an LLM safely.
Input
Output fields
Sign up on Apify or log in
The PII Redactor for GDPR & LLM Pipelines Actor is ready to run with the inputs already set for "Redact personal data from text before sending it to an LLM". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Redact personal data from text before sending it to an LLM" task
The PII Redactor for GDPR & LLM Pipelines Actor will start running based on the input automatically. You can also change all the input fields, like texts, what to redact, and more, to match your specific use case.
Receive the "Redact personal data from text before sending it to an LLM" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as source, status, format, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Redact personal data from text before sending it to an LLM" task via API.

Integrate "Redact personal data from text before sending it to an LLM" into your workflow
Connect "Redact personal data from text before sending it to an LLM" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
No. Everything runs inside the Actor on the Apify platform; no external AI, OCR or redaction API is called.
Rarely. Cards must pass the Luhn check, IBANs their checksum and national ID numbers the rule of their country, so order numbers are mostly left alone.
Names are not guessed. List the names or other terms you want removed in "customTerms".