Skip to main content
This function allows for the removal of specified text within a PDF document. It’s particularly useful for erasing sensitive or unwanted information from PDF files.
Make Step

Input

NameDescriptionRequired
Import OptionsChoose the input source, either Upload a File or Import a File From URL.Yes

Upload a File
NameDescriptionRequired
DataUpload a file using raw binary data from another module. Note: This requires additional credits as it first uploads to PDF.co Temporary Files Storage.Yes
Output File NameSpecify a custom file name for the output file.No
Import a File From URL
NameDescriptionRequired
URLProvide the URL to the source PDF document, or a filetoken:// link from PDF.co Built-In Files Storage. If you use another cloud service such as Google Drive or Dropbox ensure the link is publicly accessible.Yes
Output File NameSpecify a custom file name for the output file.No
NameDescriptionRequired
Text to Search and DeleteSpecify the text that needs to be searched for and deleted in the PDF.No
Use Regular ExpressionsOpt to use regular expressions for more complex search patterns. For instance, to find a SSN format, use [0-9]{3}-[0-9]{2}-[0-9]{4}.No
Case Sensitive?Determine if the search should be case sensitive.No
Execution ModeSelect Sync for small tasks up to 10 seconds. Choose Async for standard jobs, or Async For Large Docs for tasks over 30 seconds. Use Job Check module for retrieving results in large tasks.No
PagesEnter a comma-separated list of page indices (or ranges) for processing. Leave empty for all pages. The first page is numbered 0 (zero). Example: 0,1-2,5-.No
PasswordIf the PDF is password-protected, enter the password here.No
ProfilesAdd custom options for the process in a JSON string format. See API Profiles for more details.No
Output Links ExpirationSet the expiration time in minutes for output links. Default is 60 minutes. Increase this limit with a Business Plan or higher, see plans here for details.No
Export TypeChoose between Download a File or JSON Output. Default is JSON Output.No

Integrating External File Sources

Streamline your Make workflows with external file sources like Google Drive and Dropbox using their unique actions. Discover efficient integration strategies in our guide: File Source Integrations in Make.

Output

NameDescription
urlThis is the temporary URL provided by the PDF.co file server.
DataRepresents the output binary data. This data is generated only when the Export Type option is set to Download a File.
StatusIndicates the response status code. A success status is returned if the operation is successful.
Page CountThe total number of pages in the output PDF.
outputLinkValidTillSpecifies the timestamp until which the url remains accessible.
errorProvides details about any errors encountered during the process, if applicable.
nameThe designated name of the output file.
Job IdA unique identifier assigned to the job.
creditsThe amount of credits utilized for the process.
Remaining CreditsDisplays the balance of credits available in your account.
durationThe duration of time the process took to complete.

Profiles

To display the Profiles fields, you must enable Advanced Settings by clicking the toggle:
Advanced Settings
You can set additional options for the operation used in the PDF.co module by using Profiles. A profile is a string in JSON-like format containing predefined parameters.

Here’s an example of a Custom Profiles input:

{ "outputDataFormat": "base64" }
With this input, the PDF.co module will return the output in base64 format. You can find the list of available parameters for customizing profiles in the PDF.co operation documentation below:
You can use any regular API parameter from the API Reference within Make using the std_params feature in profiles. The std_params enables the definition of regular API parameters in a JSON format, See Standard Parameters for detailed documentation and examples.
ParameterTypeDefaultDescription
outputDataFormatstring-If you require your output as base64 format, set this to base64
removeTextUnderPatchbooleantrueControls whether to remove text under the patch or not
usepatchbooleanfalseControls whether to use a patch or not
patchColorstring#000000Controls the color of the patch
DataEncryptionAlgorithmstring-Controls the encryption algorithm used for data encryption. See User-Controlled Encryption for more information. The available algorithms are: AES128, AES192, AES256.
DataEncryptionKeystring-Controls the encryption key used for data encryption. See User-Controlled Encryption for more information.
DataEncryptionIVstring-Controls the encryption IV used for data encryption. See User-Controlled Encryption for more information.
DataDecryptionAlgorithmstring-Controls the decryption algorithm used for data decryption. See User-Controlled Encryption for more information. The available algorithms are: AES128, AES192, AES256.
DataDecryptionKeystring-Controls the decryption key used for data decryption. See User-Controlled Encryption for more information.
DataDecryptionIVstring-Controls the decryption IV used for data decryption. See User-Controlled Encryption for more information.