Convert a Text PDF to an Image-Only PDF Using PDF.co and Zapier
Automatically convert PDFs added to Google Drive into image-only PDFs. PDF.co rasterizes the pages, preserving their visible appearance while removing directly searchable and selectable text.
This is not a security or redaction method: OCR software can still recognize text in the resulting images.
Step 1: Set Up the Google Drive Trigger
Create a Zap and select Google Drive → New File in Folder.
Connect your account, select the drive and folder containing incoming PDFs, and test the trigger. Choose a sample PDF containing selectable text.
Step 2: Configure PDF.co
Add PDF.co → Custom API Call and connect your PDF.co account through the OAuth sign-in window.
Configure these fields:
- PDF.co API Endpoint: Select
/v1/pdf/makeunsearchable. - URL Input Parameter Override: Map the File output from Google Drive.
- Input JSON: Enter:
{
"name": "image-only.pdf",
"pages": "",
"async": false
}Leaving pages empty processes all pages. This example uses synchronous processing for a small PDF.
See the Custom API Call documentation and Make Text Unsearchable endpoint documentation for configuration details.
Step 3: Test the Conversion
Test the PDF.co action and open the returned url.
Check that the PDF’s appearance and page count are correct. In a viewer without automatic OCR, confirm that the original text is no longer directly selectable or searchable.
The output remains a PDF; it does not produce separate PNG or JPG files.
Step 4: Save the Result
Add Google Drive → Upload File.
Configure:
- Folder: Choose a separate output folder to prevent the Zap from processing its own results.
- File: Map the url returned by PDF.co.
- File Name: Enter
image-only.pdf. - Convert to Document?: Select No, if this option appears.
Test the upload and verify the saved PDF. Saving it to Google Drive preserves the file beyond PDF.co’s temporary output URL.
Publish your Zap to convert new PDFs automatically.
In this article, you learned how to convert text PDF to PDF Images using PDF.co and Zapier.
