CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

AI → Redact Personal Data (Beta)

AI-generated

Summary

Redact personal data from PDF, TXT, or MD files by removing or masking sensitive information according to a selected preset or custom specified entities.

Inputs

  • Authentication (required) — Choose between OAuth2 (recommended) or API Key authentication.
  • Binary Input Data — Select true to take the input file from a binary property; false to provide text content.
  • Input Binary Property Name (required) — Name of the binary property containing the file data when Binary Input Data is true.
  • Input File Contents (required) — Text content of the file to upload when Binary Input Data is false.
  • Input File Name (required) — Input filename with extension when Binary Input Data is false.
  • Preset (required) — Select which categories of personal data to remove, e.g., standard, strict, or specific data types like names or financial data.
  • Replacement (required) — Choose how redacted text is replaced in TXT and MD files: black characters, nothing, or type labels. PDFs always use black boxes.
  • OCR Scanned Pages — Enable to perform OCR on PDF scanned pages before redacting text. OCR is billed separately.
  • OCR Languages — Comma-separated ISO 639-2 codes of OCR languages used if OCR Scanned Pages is enabled; defaults to English.
  • Remove Metadata — Whether to remove PDF metadata such as title, author, and XMP.
  • Remove Attachments — Whether to remove file attachments from the PDF; attachments are not inspected for personal data.
  • Additional Options — JSON dictionary for specifying additional redaction options, including custom entity lists.

Output shape

a list of items with redacted file data in binary format and related JSON metadata

Each item corresponds to an input file processed. Returned files have personal data removed or masked per settings. Output binary data contains the redacted file contents. For TXT and MD input, redacted text replacements respect the chosen replacement style; for PDFs, redacted areas are black boxes. OCR is billed separately if enabled. Errors during processing may be returned if continueOnFail is enabled.

Links

Discussion