Searchable PDF
What this tool does
This tool makes a scanned PDF searchable. It reads every page with the OCR engine and adds an invisible text layer on top of the original image, so you can select, copy and search the text without changing how the document looks.
When to use it
- Archiving scanned contracts, invoices or reports that must be searchable later.
- Preparing scanned documents for a RAG, a search engine or a document manager.
- Copying text from a PDF that only contains images.
- Meeting accessibility or legal-archive requirements for digital records.
What to expect
You receive a link to a new PDF with the same pages and an invisible text layer, plus the number of pages processed, how many got a text layer and how many characters were recognized.
Limitations
- Up to 50 pages per request.
- Accuracy depends on the scan quality and the OCR languages configured in the service.
- Pages with a view rotation are returned unchanged (no text layer), to avoid misaligned text.
- The text layer uses a standard font: characters outside Latin-1 become placeholders.
When it fails
- The file is not a valid PDF.
- The OCR engine is not reachable or returns no text.
- The page limit is exceeded.
Good to know
- Keep
dpiat 200 for normal scans; raise it to 300 only for small print. - The original page image is preserved: the document looks exactly the same.
- If you also need the plain text, use
extract-text-from-pdf.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
url | Yes | https://public.downloads.uproc.io/samples/sample.pdf | Public URL of the scanned PDF. |
dpi | No | 200 | Rendering resolution for OCR, between 100 and 300. Default 200. |
Output data
| Field | Description |
|---|---|
result | Signed URL of the PDF with the invisible text layer. |
pages | Pages read from the input PDF. |
searchable_pages | Pages that received a text layer. |
skipped_pages | Pages returned unchanged (rotated or without text). |
chars | Characters written to the invisible text layer. |