In this article:
Blog
>
PDF

How to Convert a PDF to a CSV File (Easiest Way in 2024)

In this article, we will show you how to convert a PDF to a CSV file using Lido’s tools and formulas. Simply follow the process below.

How to Convert a PDF File to a CSV File

We will be using Lido, a spreadsheet created to automate and simplify redundant tasks. You can create your account for free by following this link: https://www.lido.app/go/signup.

Method 1: Using the PDF Importer Tool

The PDF Importer tool is designed to convert specific data selected from PDF documents into a spreadsheet format. If instead you would like to convert the entire PDF document, use Lido's custom formulas as described in methods 2 and 3 below.

Step 1: Start with a new Lido spreadsheet file. 

Begin by logging into Lido and creating a new spreadsheet. This fresh spreadsheet will serve as the base where the data extracted from your PDF will be stored and managed.

Step 2: Go to the File menu and select the PDF Importer tool.

Navigate to the File menu on the top toolbar of Lido and select "Import from PDF" from the dropdown options to open the PDF Importer tool. This tool is equipped to handle the conversion of data from PDF files into a spreadsheet format.

how to convert pdf to csv

Step 3: Upload the PDF document you would like to convert.

Click on the upload button within the PDF Importer tool interface to select and upload the PDF file from which you want to extract and convert data. Make sure that this is the correct PDF file containing the data you need.

how to convert a pdf to csv

Step 4: Select the portion of data you wish to convert and click on "Extract data".

After uploading the PDF, you'll be able to use a selection tool within the PDF Importer to highlight the specific portion of the PDF that contains the data you want to convert. Adjust the selection to fit just the data you need and then click "Extract data" to initiate the conversion process.

how to convert a pdf to a csv file

Step 5: Make sure the data is accurately converted from PDF, then select "Insert at active cell".

The transformed data has been placed into the spreadsheet's active cell. The PDF importer's function is to change data into a format suitable for spreadsheets. When the chosen section is purely text, each text line is allocated to its own cell. In cases where the chosen section has table-like data, this data is then extracted.

Should the chosen section include both table-like data and simple text, the simple text will be disregarded. If you need to transform additional data from the PDF, you should click "Back" at this point. To complete the process, simply exit the modal by clicking the "X" button located in the top right corner.

converting pdf to csv format

Step 6: Press the three-dot menu next to the worksheet name and select "Export Worksheet to CSV".

After ensuring all data has been converted and inserted into the spreadsheet, click the three-dot menu next to the worksheet name. From there, select "Export Worksheet to CSV". This will export the data into a CSV file.

guide to converting pdf to csv

Method 2: Using the IMPORTPDF Formula

In this approach, we'll employ Lido's unique formula, IMPORTPDF, which transforms all content from the provided PDF document simultaneously. However, IMPORTPDF is not compatible with scanned PDFs. If you're dealing with a scanned PDF, you might want to look into the third method mentioned below, which utilizes the EXTRACTTABLESFROMPDF formula instead.

Step 1: Access your Google Drive and upload the PDF which you would like to convert to a CSV file.

Begin by logging into your Google Drive and uploading the PDF document you want to convert. Ensure the file is accessible in your Drive as it's necessary for the subsequent steps in Lido.

steps to convert pdf to csv

Step 2: Make a fresh Lido spreadsheet from the Files section.

Open Lido and create a new spreadsheet by navigating to the Files section. This new spreadsheet will be used to handle the data that will be extracted from your PDF.

Step 3: To create a new worksheet, click on the plus icon located at the top left corner of the screen.

Add a new worksheet to your spreadsheet by clicking the plus icon, found at the top left of the Lido interface. This worksheet will specifically be used to receive and display the extracted PDF data.

how to export pdf as csv

Step 4: Enter the formula "=IMPORTPDF(" into cell A1.

Navigate to cell A1 in your new worksheet and start typing the IMPORTPDF formula.

method to convert pdf to csv

Step 5: Click on "Add Credential" and proceed with the steps to link the Google account that contains the uploaded PDF file.

Click the "Add Credential" button to begin establishing a connection between Lido and your Google Drive, which allows Lido to access the PDF file you've uploaded. Follow the prompts carefully to ensure the account is correctly linked.

converting pdf files to csv

Step 6: Press the comma key to move to the next argument, then click on "Select a file".

After linking your Google account, press the comma key to separate the first part of the formula from the next, then click "Select a file" to bring up a dialog box where you can select the uploaded PDF file from your Google Drive.

how to make pdf into csv

Step 7: Choose the PDF file you have uploaded to Google Drive.

Navigate through your Google Drive in the file picker to locate and select the PDF you want to convert.

tutorial on converting pdf to csv

Step 8: To finalize the formula, type ", Sheet1!B2)" and then hit ENTER

This specifies that the data extracted by the EXTRACTTABLESFROMPDF formula should be directed to the Sheet1 worksheet, beginning at cell B2.

convert your pdf to csv

Step 9: Right-click on cell A1 and select "Run action".

After the formula is set up, right-click on cell A1 where the formula is entered and choose “Run action” from the context menu. This executes the formula, starting the process of extracting data from the PDF.

how do I convert pdf to csv

Step 10: Change to the worksheet named Sheet1 and confirm that the data has been accurately extracted.

Switch over to Sheet1 to inspect the extracted data. Verify that all the information has been extracted accurately and is properly formatted within the spreadsheet cells.

ways to convert pdf to csv

Step 11: Click on the three-dot menu adjacent to worksheet Sheet1 and choose "Export Worksheet to CSV."

Once you are satisfied that the data is correctly extracted and displayed, click the three-dot menu next to the Sheet1 tab and select "Export Worksheet to CSV".

how to change a pdf into a csv

Method 3: Using the EXTRACTTABLESFROMPDF Formula

In this approach, we'll employ Lido's unique formula, EXTRACTTABLESFROMPDF, which is designed to extract anything it identifies as a table from the PDF. This formula is effective on scanned documents.

Step 1: Access your Google Drive and upload the PDF which you would like to convert to a CSV file.

Log into your Google Drive and upload the PDF file from which you intend to extract table data. Make sure the file is uploaded successfully as you'll need to access it directly from Lido.

how can I convert pdf to csv

Step 2: Make a fresh Lido spreadsheet from the Files section. 

Navigate to the Files area in Lido and create a new spreadsheet. This document will serve as your primary workspace where the extracted table data will be placed.

Step 3: To create a new worksheet, click on the plus icon located at the top left corner of the screen.

Add a new worksheet to your spreadsheet by clicking the plus sign. This new sheet is where you will input the formula and subsequently display the extracted data.

instructions for converting pdf to csv

Step 4: Enter the formula "=EXTRACTTABLESFROMPDF(" into cell A1.

In the newly created worksheet, go to cell A1 and start typing the EXTRACTTABLESFROMPDF formula. This formula is specifically designed to identify and extract tables from the PDF.

help converting pdf to csv

Step 5: Click on "Add Credential" and proceed with the steps to link the Google account that contains the uploaded PDF file.

Select "Add Credential" to begin establishing a connection between your Google Drive and Lido. This connection is necessary for Lido to access and process the PDF file you've uploaded.

how to convert a pdf file to csv

Step 6: Press the comma key to move to the next argument, then click on "Select a file".

After successfully linking your account, press the comma key to add a separation in the formula and then choose "Select a file." This opens a file picker where you can select the previously uploaded PDF.

converting a pdf document to csv

Step 7: Choose the PDF file you have uploaded to Google Drive.

Find and select the PDF document you uploaded earlier.

step-by-step convert pdf to csv

Step 8: To finalize the formula, type ", Sheet1!B2)" and then hit ENTER

This specifies that the data extracted by the EXTRACTTABLESFROMPDF formula should be directed to the Sheet1 worksheet, beginning at cell B2.

how to convert pdf documents into csv

Step 9: Right-click on cell A1 and select "Run action".

With the formula ready, right-click on cell A1 where you entered the formula and select "Run action." This command triggers the formula to execute.

how to convert pdfs to csv files

Step 10: Change to the worksheet named Sheet1 and confirm that the data has been accurately extracted.

Switch to Sheet1 to inspect the extracted data. Ensure that the data, particularly table content, has been extracted correctly and is well-formatted within the worksheet.

Be aware that only data in tables will be extracted. If you need to extract data that isn't in table form, you should consider using methods 1 and 2.

converting pdf to csv file guide

Step 11: Click on the three-dot menu adjacent to Sheet1 and choose "Export Worksheet to CSV."

After verifying the extraction accuracy, click the three-dot menu beside Sheet1's tab and select "Export Worksheet to CSV." This allows you to convert and download the data in CSV format, suitable for further use or analysis outside of Lido.

can i convert a pdf file into csv

We hope you now have a better understanding of how to convert a PDF to a CSV file using Lido.

Schedule a free automation consult
Learn more

Level up your Google Sheets skills with our free Google Sheets automation guide

Wasting too much time doing things manually in spreadsheets? Want to spend more time doing what you love? Our 100% free, 27-page Google Sheets automation guide is full of new tips and tricks that will save you time and money!