Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

OCR Files from Images & PDFs: Google Drive Guide

· 7 min read · Home Tech

In this article
  1. What Google Drive OCR Actually Does
  2. Step-by-Step: How to OCR a File in Google Drive
  3. How to Make OCR Work on Existing Files
  4. OCR Quality: What Affects Accuracy
  5. Limitations and Common Problems
  6. Google Drive OCR vs. Other Tools
  7. Privacy and Security Considerations
  8. Frequently Asked Questions

Yes, Google Drive can extract text from images and PDFs using its built-in OCR (Optical Character Recognition) technology, and this guide explains exactly how to use it, its limitations, and what to do when it doesn't work. You don't need any extra software or extensions—just a Google account and a file in Drive. The process is automatic for most files, but there are important settings and workarounds that determine whether you get searchable, editable text or just a static image.

What Google Drive OCR Actually Does

Google Drive's OCR converts the visual text in an image or a scanned PDF into machine-readable text. This means you can search for words inside the file, copy and paste sentences, and edit the text in Google Docs. The OCR engine processes files that are uploaded in common formats: JPG, PNG, GIF (static), and PDF. It works best on clear, high-contrast text—think typed documents, receipts, and screenshots. Handwritten notes are generally not recognized, and decorative fonts often produce garbled output.

The key detail most users miss: OCR only runs when you open the file with Google Docs. Uploading a PDF or image to Drive alone does not make it searchable. You must right-click the file and choose Open with > Google Docs. Drive then creates a new Google Doc containing the extracted text, while your original file remains untouched.

Step-by-Step: How to OCR a File in Google Drive

  1. Go to drive.google.com and sign in.
  2. Click New > File upload and select your image or PDF. (You can also drag and drop it into the Drive window.)
  3. Wait for the upload to finish. The file appears in your Drive list.
  4. Right-click the uploaded file.
  5. Hover over Open with and select Google Docs.
  6. A new tab opens with a Google Doc containing the recognized text. The original file stays in Drive.

That's the entire process. For a single file, it takes about 10–30 seconds depending on file size and server load. The resulting Google Doc will have the same name as the original, and it appears in your Drive root folder (or in the same folder if you right-clicked from inside a folder).

How to Make OCR Work on Existing Files

If you already have a scanned PDF or image in Drive, you don't need to re-upload. Right-click the existing file and choose Open with > Google Docs—the OCR runs on the stored file. However, there are two common scenarios where this fails:

  • The file is a “searchable” PDF (one that already contains a text layer). Opening it with Google Docs will extract that text layer directly, not run OCR. That's usually fine, but if the text layer is wrong (e.g., from a poor original OCR), you'll get the same errors.
  • The file is larger than 2 MB or has more than 100 pages. Google Docs may refuse to open it. In that case, split the PDF into smaller parts (using a free tool like Smallpdf or even Google's own Chrome print-to-PDF) and OCR each part separately.

Another hidden setting: In Google Drive settings (gear icon > Settings), there is a checkbox labeled Convert uploaded files to Google Docs editor format. If this is checked, every PDF and image you upload will automatically be converted to a Google Doc with OCR. If it's unchecked, you must manually open with Google Docs each time. Many users enable this to save steps, but be aware it also converts all your Office files (Word, Excel) to Google formats, which can change formatting.

OCR Quality: What Affects Accuracy

Google Drive's OCR is good but not perfect. Accuracy depends on several factors you can control:

  • Resolution: A 300 DPI scan is the sweet spot. Lower resolution (72 DPI) produces fuzzy characters; higher (600 DPI) doesn't improve accuracy much and slows processing.
  • Contrast: Black text on white background works best. Colored backgrounds, shadows, or watermarks confuse the engine.
  • Font: Clean sans-serif or serif fonts (Arial, Times New Roman) are recognized well. Script, italic, or heavily stylized fonts often fail.
  • Orientation: Text must be upright. Sideways or upside-down pages produce gibberish. Rotate the image before uploading.
  • Language: Google Drive OCR supports many languages, but you must set the document language in the Google Doc (File > Language) to get correct character recognition for non-Latin scripts. For multilingual documents, OCR may mix up characters.

If you get poor results, try re-saving the image as a PNG instead of JPEG (JPEG compression can blur edges), or increase the scan resolution. For PDFs, ensure they are not “image-only” with a low DPI—re-scan at 300 DPI.

Limitations and Common Problems

Google Drive OCR has several limitations that users frequently hit:

  • Handwriting: It does not recognize cursive or handwritten text. Only printed text.
  • Tables and columns: The output often loses alignment. Text in columns may be read across columns, and tables become plain text with no borders.
  • File size and page limits: PDFs over 100 pages or 2 MB may fail. Google's official help page doesn't state exact limits, but in practice, large files time out.
  • No batch OCR: You must open each file individually. There's no built-in way to OCR an entire folder at once.
  • Editable output is a Google Doc: You cannot directly edit the original PDF or image. You must work in the generated Doc, then export it back to PDF if needed (File > Download > PDF).

A common misconception is that OCR makes the original PDF searchable. It does not. The original PDF remains a static image. Only the new Google Doc contains the text. To get a searchable PDF, you must export the Google Doc as a PDF—that new PDF will have a text layer.

Google Drive OCR vs. Other Tools

Google Drive's OCR is free and convenient, but it's not the most powerful option. Here's how it compares:

  • Adobe Acrobat Pro: Has built-in OCR that preserves layout, tables, and fonts better. It can also create searchable PDFs directly. But it's paid software.
  • Tesseract (open source): A command-line OCR engine that's highly customizable and supports many languages. Requires technical setup.
  • Online OCR services (e.g., OnlineOCR.net, i2OCR): Often handle handwriting or low-quality scans better, but they have file size limits and privacy concerns—you're uploading sensitive documents to a third party.
  • Microsoft OneNote: Can OCR images and PDFs inserted into notes, but the text is not directly editable—you must copy it out.

For most casual users—digitizing receipts, scanning book pages, extracting quotes from screenshots—Google Drive is sufficient. For professional document workflows where layout matters, a dedicated tool is worth the cost.

Privacy and Security Considerations

When you upload a document to Google Drive, it's stored on Google's servers. Google's Terms of Service state that you retain ownership, but Google does process your files to provide the service (including OCR). For sensitive documents (passports, financial records, medical files), consider whether you're comfortable with that. Google does not use your Drive content for advertising without your permission, but the files are accessible to Google employees in limited circumstances (e.g., for abuse prevention). If privacy is a concern, use a local OCR tool like Tesseract or Adobe Acrobat that processes files on your device.

Frequently Asked Questions

Why is my OCR output full of garbage characters?

This usually happens when the image is low-resolution, rotated, or has decorative fonts. Re-scan at 300 DPI, ensure text is upright, and use a standard font. Also check the document language setting—if your text is in French but the Doc is set to English, you'll get wrong characters.

Can I OCR a PDF that is already text-based?

If the PDF already has a text layer, Google Docs will just extract that text—it won't re-OCR. That's fine, but if the existing text layer is bad, you may need to convert the PDF to images first (e.g., using a PDF-to-JPG tool) and then OCR those images.

Does Google Drive OCR work on mobile?

Yes, the Google Drive app for Android and iOS lets you upload images and PDFs, then open them with Google Docs to trigger OCR. The process is the same, but you'll need the Google Docs app installed. The OCR runs on Google's servers, so the device doesn't matter.

How do I OCR multiple files at once?

There's no native batch feature. You can use Google Apps Script to automate the process, but that requires coding. A simpler workaround: combine multiple images into one PDF (using a free tool), then OCR that single PDF—but keep it under 100 pages.

Is there a file size limit for OCR?

Google doesn't publish an official limit, but in practice, files over 2 MB or 100 pages often fail to open in Google Docs. If you hit this, split the file into smaller parts and OCR each.

Can I edit the original PDF after OCR?

No. The OCR creates a separate Google Doc. To edit the PDF, you'd need to export the Doc back to PDF, which will be a new file with a text layer. The original remains unchanged.