---
name: "extract-pdf-data-with-chatgpt-parsio-method"
description: "Use when you need to Pull named fields from a PDF into a usable format. Pull fields from a PDF using ChatGPT, Claude or Gemini"
---

# Pull fields from a PDF using ChatGPT, Claude or Gemini

Job: [Pull named fields from a PDF into a usable format](https://aiagents.org/canai/extract-pdf-data-with-chatgpt-parsio)

## Need

- ai agent

## Steps

1. Attach the PDF to a fresh chat, ideally one file per conversation so values from different documents stay apart.
2. Name every field you need in plain words, instead of asking for "the data".
3. Specify the output shape, such as JSON keys or table columns, and the format for dates and amounts.
4. Tell the assistant to leave a missing field empty or null rather than guessing.
5. Compare totals and a sample of values with the original; point the assistant to the page and row of any mistake.
6. Move the result into your spreadsheet or script, and keep the prompt for the next document.
7. Optional: Parsio's reusable invoice prompt is listed separately in our prompts.
8. Note: Our own-words summary of Parsio's guide, in its order; the guide also covers the limits of chat-based extraction. Check totals against the original before you rely on the data.

## Credit

Method author Parsio (blog post by Andrew)
Source: https://parsio.io/blog/how-to-extract-data-from-pdfs-using-chatgpt/
