How to Auto Find Table and Extract Borderless Table in PDF using PDF.co Document Parser
In this tutorial, we will show you how to auto-find tables and extract the borderless tables in a PDF using PDF.co Document Parser.
Here’s a sample borderless table that we’re going to use for this tutorial.
![Screenshot of Sample Borderless Table](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F77a4877fb0a9b3f82209e971a8dbde83c1948bf1-1021x745.png&w=2048&q=75)
Step 1: Open Document Parser
To start, you will need to log in to your PDF.co account.
From the API Tools tab, select Document Parser.
![Document Parser Manager](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Fedbe9c7fd698a15c671f5e406fcf856ec357f4eb-1159x722.png&w=3840&q=75)
Step 2: Create New Template
Click on the Manage Templates button.
![Manage Templates](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F26a5d6ce6d0d3aa97d8187d0a01e237f8bb3bbd1-1192x639.png&w=3840&q=75)
Next, click on the New Template button to create a new template.
![Create a New Template](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F16dc5ba4404ed34bb417b7173ea435ae9c92aefa-1201x742.png&w=3840&q=75)
Step 3: Load Source File
Next, load the Source File to create a template.
![Load Source File](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Ffca79e7d9746504e358dbf7316a16c89e1cc976d-1000x419.png&w=2048&q=75)
Step 4: Add Object
Then, click on the Add Object button and choose the Add Table from Table Auto Detection.
![Add Object](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F0e00e092164522f3ef1354fe56a0abc8669fca24-1000x394.png&w=2048&q=75)
Step 5: Click Run Template
After adding the object, click on the Run Template button.
![Click Run Template](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F77f5a51242e5a9e791f20f2c00198aa5aa28f1bb-1000x516.png&w=2048&q=75)
Step 6: Result
Here’s the output using the template.
![Extracted Output from Borderless Table](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F4be4299db43e012371eafee6a1131fe647811b4f-1000x432.png&w=2048&q=75)
Step 7: Save Template
Once you’re done creating the template, click on the Save Template and Return buttons.
![Save Template](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F07d35d99de36d20103a1deed047545c19c55a4a8-1000x523.png&w=2048&q=75)
In this tutorial, you learned how to auto-find tables and extract the borderless table in a PDF using PDF.co Document Parser. You also learned how to create a new template.