Hands-on tutorials · Redact PDF
Redact a known phrase in a non-sensitive test PDF
A sample contains SECRET_VALUE.
By AnimaPDF editorial team · Updated:
Open this tool →The exercise
A sample contains SECRET_VALUE. Remove that phrase, then check the visible mask and the absence of the original searchable text layer.
This is an illustrative exercise to reproduce, not a customer success claim. Use your own test copy; the page numbers in the example apply only to a sample with the stated conditions.
Follow the steps
Step 1
Choose the test PDF and enter the exact phrase, or provide region JSON.
Step 2
Process and read any error if the intended match was not found.
Step 3
Inspect every output page and search/copy-test the removed content before sharing.
Expected result and acceptance check
The output contains masked page images without the source text layer. It is no longer the original searchable, interactive PDF.
Check every occurrence and mask boundaries; also inspect nearby text that should remain readable.
When processing finishes, use the download link in the workspace and save the result somewhere easy to find. Reopen that downloaded artifact rather than relying on the completion status. If processing fails, read the workspace error, check the input format and options, and retry.
If the result differs
Image-only irreversible output; no original text interaction. Region coordinates must fit inside the page.