Convert a PDF to an Image-Only Copy with PDF.co
The Make Text Unsearchable API converts PDF pages into images inside a new PDF. Use it when you need a visual copy rather than searchable text or an interactive document.
Text in the rasterized pages is no longer selectable, and links and form fields are not retained as working controls in the page images. Keep the original if you need searchable text, accessibility information, or interactive features.
OCR can later recognize visible text from those images. Rasterization is therefore not a way to make information impossible to extract, and it is not a malware scan or a general PDF security guarantee.
Step 1: Prepare the Input PDF
Use a source PDF URL that PDF.co can retrieve. For a local file, follow the file-upload instructions to upload it and obtain a source URL.
You can use the Make Text Unsearchable API Tester or an HTTP client to submit the conversion.
Get your API key from the PDF.co dashboard.
Step 2: Submit the Conversion
Send a POST request to:
https://api.pdf.co/v1/pdf/makeunsearchable
Include these headers:
- x-api-key: Your PDF.co API key.
- Content-Type:
application/json.
Use this JSON body, replacing YOUR_PDF_URL with your source URL:
{
"url": "YOUR_PDF_URL",
"name": "image-only.pdf",
"async": true
}Omitting pages processes all pages. To select particular pages, use zero-based indices: "pages": "0" selects the first page, and "pages": "0-2" selects the first three.
Check the submission response for errors and retain its jobId. A successful submission means the background job was accepted—not that the PDF is ready to download.
Step 3: Wait for the Job to Finish
Use Background Job Check to send a POST request to:
https://api.pdf.co/v1/job/checkUse the same API key and JSON content-type headers. Replace the placeholder with the returned job ID:
{
"jobid": "YOUR_RETURNED_JOB_ID"
}Handle the returned status:
- working: Wait briefly, then check the same job again.
- success: Retrieve the PDF from the completed response’s url.
- failed or aborted: Stop and review the response.
An HTTP error is not a successful job status. If the job check returns 404, stop polling with that API key. Do not resubmit the conversion simply because the job is still working.
Step 1: Select Make PDF Unsearchable Endpoint
In the PDF.co API Endpoint field, search for and select /pdf/makeunsearchable and select it. This endpoint converts PDF files into a “text unsearchable” version by converting your PDF into a “scanned” PDF file which is effectively a flat image.
Step 2: Set Input Parameters
In the Input parameters field, you have three options:
- Provide a URL link: If your PDF is hosted online, you can enter the URL of the PDF file.
- Upload a file: If you have the PDF file saved on your device, you can upload it as the input.
- Enable asynchronous processing: Enable asynchronous processing: To process the request asynchronously, set the
"async": trueparameter in your input configuration. This ensures the task runs in the background, and you can fetch the results later. Additionally, make sure to click the checkbox right below the Input URL field to enable asynchronous processing.


Once you have finished setting up the configuration, simply click the "Run Request" button to send your request to PDF.co.
Step 4: Download and Inspect the PDF
Download the completed PDF before its temporary link expires, then compare it with the original.
Check:
- Every expected page is present.
- Small text, images, and fine lines remain readable.
- The file size is suitable for its intended use.
- The loss of text selection and interactive controls is acceptable.
Keep the original alongside the image-only copy whenever you may need its text or interactive features later.
