From PDF to Google Sheets Data with OCR

From PDF to Google Sheets Data with OCR
Image by Editor | ChatGPT

Converting PDF documents into structured data in Google Sheets can save hours of manual data entry. OCR (Optical Character Recognition) can convert text within images or PDFs into editable, structured data. Google offers a straightforward and efficient way to convert PDFs to Google Sheets data using built-in OCR technology.

In this tutorial, we show how to move data from a PDF to Google Sheets with OCR.

What Is OCR?

OCR (Optical Character Recognition) is a technology that converts images or scanned documents like PDFs into editable and searchable text. It allows tools like Google Docs to extract text and data from files that weren’t originally typed.

Step 1: Upload the PDF to Google Drive

  • Open Google Drive in your web browser
  • Click on New >> select File Upload

From PDF to Google Sheets Data with OCR

  • Browse and select the PDF file from your computer, and upload it

From PDF to Google Sheets Data with OCR

Step 2: Convert PDF to Google Docs (OCR)

  • Right-click on the uploaded PDF in Google Drive
  • Choose Open with >> select Google Docs

From PDF to Google Sheets Data with OCR

Google Docs automatically performs OCR and converts the PDF into an editable document. Wait for the conversion to complete.

Step 3: Clean Up and Prepare Data

  • Once your PDF opens as a Google Doc, review the converted text
  • Check for any OCR errors or misread text
  • Manually correct any mistakes or misalignments

Alignment issues are common when converting a PDF to editable text.

  • The uploaded PDF has alignment issues
  • Some data is merged

From PDF to Google Sheets Data with OCR

  • Review the original PDF file, then format the data in Google Docs
  • Press Enter to insert a line break and keep related data together

From PDF to Google Sheets Data with OCR

Step 4: Move Data to Google Sheets

  • Select the data you want to transfer by highlighting the text
  • Right-click >> select Copy, or press Ctrl+C to copy the selected text

From PDF to Google Sheets Data with OCR

  • Open a new or existing Google Sheets document
  • Select a cell and press Ctrl+V to paste the text

From PDF to Google Sheets Data with OCR

Step 5: Format Data

After pasting, your data may appear unstructured. Use Google Sheets features such as Split text to columns to adjust columns and rows and format your data neatly.

Let’s format the data:

  • Select the text
  • Go to the Data menu >> select Split text to columns

From PDF to Google Sheets Data with OCR

  • Select Space as the Separator to split the data

From PDF to Google Sheets Data with OCR

In some cases, splitting is sufficient, but you may need to apply additional formatting to enhance readability and usability.

In our case, the product name was split by the space separator. To recombine text where the split wasn’t needed, you can use the CONCATENATE function.

  • Select a cell and enter the following formula
=CONCATENATE(B2," ", C2)

From PDF to Google Sheets Data with OCR

  • This formula concatenates the product name
  • Copy the product name and paste it as a value in the Products column
  • Delete the split text
  • Select the split text >> right-click the selection >> select Delete cells >> choose Delete cells and shift left

From PDF to Google Sheets Data with OCR

Your data has now been successfully moved from the PDF to Google Sheets.

From PDF to Google Sheets Data with OCR

Tips:

  • The clarity and quality of the original PDF significantly affect OCR accuracy
  • Optionally, use functions like TRIM, CLEAN, or SUBSTITUTE for additional cleaning and organization

Using Google Sheets OCR Add-ons

If you regularly need to convert PDFs into Google Sheets, consider third-party add-ons or OCR tools specifically designed for data extraction.

Installing the Add-ons:

  • Go to the Extensions menu >> select Get add-ons

From PDF to Google Sheets Data with OCR

  • Search for OCR add-ons
  • Install OCR add-ons like OCR text recognition for docs, spreadsheets, PDF

From PDF to Google Sheets Data with OCR

Using the Add-ons:

  • Go to the Extensions menu >> select OCR text recognition for docs, spreadsheets, PDF >> select Upload files.

From PDF to Google Sheets Data with OCR

  • In the OCR text recognition box, browse and select the file

From PDF to Google Sheets Data with OCR

The add-on automatically uploads and validates the PDF file. Then move the data from the PDF to Google Sheets directly.

From PDF to Google Sheets Data with OCR

The free tier limits how much data can be processed and may prompt you to upgrade.

Additional Resources

There are other free, limited-access, or paid third-party tools and add-ons you can explore to easily move data from PDF to Google Sheets.

  • FileDrop
  • Table Extractor
  • Adobe Acrobat, etc

You can also use online services to perform similar tasks.

  • Smallpdf: Free tier available, good accuracy
  • iLovePDF: Batch processing capabilities
  • OnlineOCR.net: Free image-to-text converter with PDF support

Conclusion

By following these steps, you can efficiently move data from PDFs to Google Sheets using OCR. This saves time and reduces manual data entry, improving productivity. Start with Google Drive’s built-in OCR for simple documents, then progress to automated solutions using third-party tools for more complex needs. Always prioritize data accuracy through proper quality control and validation processes.

Leave a Reply

Your email address will not be published. Required fields are marked *