How to OCR a PDF on iPhone
A scanned PDF is essentially a collection of images — you can't search it, copy text from it, or have it read aloud by accessibility tools. OCR (Optical Character Recognition) solves this by detecting the text in those images and embedding it into the PDF so it becomes fully searchable. LazyPDF's OCR tool does this directly in Safari on your iPhone, using Tesseract.js — an open-source OCR engine that runs entirely in the browser. Your scanned PDF never leaves your device; all the text recognition happens locally using your iPhone's processor. This guide explains exactly how to run OCR on a PDF from your iPhone, including how to open scans from the Files app, Camera Roll, email, and scanning apps like Adobe Scan or Apple's built-in document scanner.
How to Make a Scanned PDF Searchable on iPhone
The LazyPDF OCR tool runs Tesseract.js in your Safari browser, which means it can recognize text in over 100 languages and works without any server connection once the page is loaded. It supports scanned documents, photographed pages, and any PDF that contains image-based pages rather than native text. Processing time depends on the number of pages and your iPhone model — typically 10-30 seconds per page. Here is how to do it.
- 1Open Safari on your iPhone and go to lazy-pdf.com/en/ocr
- 2Tap 'Choose File' and select your scanned PDF from the Files app, iCloud Drive, or email attachment (save to Files first if needed)
- 3Choose your document language from the dropdown to improve recognition accuracy, then tap 'Run OCR'
- 4Wait for Tesseract.js to process each page — a progress indicator shows the status — then tap 'Download' to save the searchable PDF to your Files app
Scanning a Document and Immediately Running OCR on iPhone
iPhone's built-in document scanner (in the Notes app and Files app) produces high-quality PDF scans, but they aren't searchable by default. To create a searchable PDF from a physical document on iPhone: open the Notes app, create a new note, tap the camera icon, and choose 'Scan Documents'. After scanning, tap the scan, tap Share, and save it to the Files app as a PDF. Then open Safari, go to lazy-pdf.com/en/ocr, pick that PDF from Files, and run OCR. The whole workflow from paper to searchable PDF takes about two minutes. iOS 17 and later also support scanning directly from the Files app.
Accuracy and Language Support on iPhone
Tesseract.js supports over 100 languages including English, Spanish, French, German, Chinese, Arabic, Japanese, and many more. For best accuracy, always select the correct language in the LazyPDF OCR tool before processing. The quality of recognition also depends on the scan quality: clean, straight, high-contrast scans (300 DPI or better) give near-perfect results, while skewed, shadowed, or low-contrast photos will have more errors. The Camera mode in iPhone's scanner automatically applies perspective correction and contrast enhancement, which significantly improves OCR accuracy compared to photographing a document manually. Handwriting is not supported — Tesseract.js recognizes printed text only.
Why Your Scanned PDF Stays on Your iPhone
Privacy is especially important for scanned documents, which often contain sensitive information like tax forms, medical records, or signed contracts. LazyPDF's OCR tool uses Tesseract.js, which runs completely inside Safari's JavaScript engine on your device. The scanned PDF is loaded into browser memory, each page is rendered as an image using Canvas, text is recognized by Tesseract.js running on your iPhone's CPU, and the text layer is embedded back into the PDF using pdf-lib — all without a single byte leaving your phone. After you download the result, the browser memory is freed. Apple's App Transport Security and Safari's privacy features add additional layers of protection.
Using OCR Output on iPhone: Search, Copy, and Accessibility
Once you download the OCR-processed PDF and open it in any iOS PDF viewer — Files, Books, or a third-party app like PDF Expert — you can immediately use the search function (Ctrl+F or the search icon) to find any word or phrase in the document. You can also long-press on any word to select and copy it, which is useful for quoting from documents or extracting information without retyping. iOS's built-in Speak Screen and VoiceOver accessibility features will now read the document aloud, which is helpful for visually impaired users or for listening to long documents while multitasking.
Frequently Asked Questions
Can I run OCR on a PDF on iPhone without an app?
Yes. Go to lazy-pdf.com/en/ocr in Safari on your iPhone. Load your scanned PDF using the file picker, select the document language, and tap Run OCR. Tesseract.js does all the text recognition locally inside Safari — no app download required. The result is a searchable PDF you can download directly to your Files app. It works on iPhone models running iOS 14 or later.
How long does OCR take on an iPhone?
Processing time depends on your iPhone model and the number of pages. On a modern iPhone (iPhone 12 or later), expect roughly 10-20 seconds per page for standard letter-size scans at normal quality. An older iPhone 8 might take 30-45 seconds per page. A 5-page document typically takes 1-3 minutes. You'll see a progress indicator while Tesseract.js processes each page, so you know the tool is working.
Does the OCR tool work on photos I took with my iPhone camera?
The OCR tool works on PDF files, not directly on JPEG photos. If you have a photo of a document, you first need to convert it to PDF. The easiest way on iPhone is to use the document scanner in the Notes app (tap camera icon → Scan Documents), which produces a PDF automatically. Alternatively, use LazyPDF's Image to PDF tool to convert your photo to PDF, then run OCR on the resulting file.