New: Markdown to PDF built for AI agents, PDF to E-Invoice for Factur-X/ZUGFeRD, and PDF to PDF/A for archive-ready PDF/A-3b.

Turn Scanned PDFs into Searchable PDFs Using PDF.co and Make

8 Minutes Read

In this tutorial, we will use PDF.co and Make to add a searchable text layer to scanned PDFs. This workflow retrieves a PDF from Google Drive, processes it with OCR, and saves the searchable copy to another folder.

Prerequisites

  • A Make account.
  • A PDF.co account and API key.
  • Google Drive folders for incoming scans and searchable output.

Step 1: Watch for New PDFs

Create a Make scenario and add Google Drive → Watch Files in a Folder.

Connect your Google account, select the folder containing incoming scanned PDFs, and choose where monitoring should begin. Use a folder dedicated to PDF files.

For connection requirements, see Make’s Google Drive setup guide.

Step 2: Download the PDF

Add Google Drive → Download a File.

Map the File ID from the trigger into this module’s File ID field. The downloaded file data will be passed to PDF.co. See PDF.co’s file-source guide.

Step 3: Make the PDF Searchable

Add PDF.co → Make PDF.co API Call and create a connection using your PDF.co API key.

Configure the module:

  • API Endpoint Path: /pdf/makesearchable
  • Method: POST
  • Headers: Add Content-Type with the value application/json.
  • Input Type: Upload files and inject as URL param
  • Data: Map the file data from Google Drive’s Download a File module.
  • Body: Add lang with the value eng and name with the value searchable.pdf.
  • Forcely enable async mode: Yes.
  • Auto-run job/check for async jobs: Yes.
  • Export Type: Download a File

The connection supplies authentication, and the selected input type uploads the file and supplies its URL. Automatic job checking waits for the conversion to finish.

See the Make API Call settings and Make Text Searchable documentation for additional options, including OCR languages and page selection.

Step 4: Save the Searchable PDF

Add Google Drive → Upload a File.

Select your output folder and map the PDF.co module’s File Name and Data outputs into the upload’s file fields. Keep the output folder separate from the monitored folder to avoid processing generated files again.

Step 5: Test and Activate

Run the scenario with a sample scanned PDF. Open the saved output, search for a visible word, and confirm that you can select and copy its text.

Once the result is satisfactory, set the scenario’s schedule and activate it. New PDFs added to the monitored folder will be converted and saved automatically.

In this tutorial, you learned to call the PDF.co Make a Searchable API endpoint to convert a scanned PDF into a searchable PDF using PDF.co and Make. You also learned how to set up your Google Drive to fetch your files to use in PDF.co.

Related Tutorials

See Related Tutorials