In this tutorial, we will show you how to auto-detect the table in a PDF using PDF.co Document Parser.

  1. Document Parser Menu
  2. Click New Template
  3. Load Test PDF
  4. Add Object
  5. Run Template
  6. Test Result
  7. Save the Template

Here’s the sample PDF with a table that we’re going to use in this tutorial.

Screenshot of Sample PDF with Table
Screenshot of Sample PDF with Table

Step 1: Document Parser Menu

  • To begin. First, log into your PDF.co account and click on the Document Parser menu.

Document Parser Menu

Step 2: Click New Template

  • Next, click on the New Template button.

Click New Template

Step 3: Load Test PDF

  • Then, load the Source File to create a template.

Load Test PDF

Step 4: Add Object

  • Click on the Add Object button and choose the Add Table from Auto Detection.

Add Object

Step 5: Run Template

  • After adding the object, click on the Run Template button.

Run Template

Step 6: Test Result

  • Here’s the extracted output using the template.
Extracted Output using Template
Extracted Output using Template

Step 7: Save the Template

  • Once you are done creating the template, you may now save it.

Save the Template

In this tutorial, you learned how to auto-detect the table in a PDF using PDF.co Document Parser. You also learned how to create a new template using the Document Parser Template Editor.

Related Pages:

Related Samples: