DREFLY
← All tools

PDF to JSON AI

Upload a PDF and get clean, properly structured JSON back, generated with AI.

1 Upload PDF
2 Convert
3 Copy or download
Drop .pdf files here or click to choose Select any number of files · No file size or page limit

Object and array names are built from this document's own headings, labels, and fields - not forced into one generic template. Images and complex formatting are not carried over - always spot-check the result.

Using a lot? Bring your own free or paid API key for unlimited requests

The free tier is limited to a few requests per day per visitor. Paste your own key here and Drefly automatically detects which provider it belongs to. If the key format matches more than one provider, you'll be asked to pick the right one. Your key is stored only in your browser's local storage and is never saved on our servers.

New to API keys? Here's where a first-time user can grab a free one in under a minute, with no card required for most of these:

  • Google AI Studio (Gemini) - generous free daily quota, sign in with a Google account, key starts with AIza
  • Groq Console - free tier with fast open models, key starts with gsk_
  • OpenRouter - several free models available, key starts with sk-or-
  • Anthropic Console (Claude) - paid with a small free trial credit, key starts with sk-ant-
  • OpenAI Platform - paid, key starts with sk-

Steps: open one of the links above, sign in or create a free account, find "Create API key" (or "Get API key"), copy the key, then paste it into the field above.

FAQ

Frequently asked questions

How is the JSON structure decided?

An AI model reads the extracted text and builds object and array names from the document's own headings, labels, and fields, instead of forcing it into one generic template.

Are images kept?

No, only text content is converted. Images and complex layouts are not carried over.

Is there a page limit?

Yes, there’s no page limit - any size PDF is supported per request.

Is PDF to JSON free to use?

Yes, converting a PDF to JSON with AI is completely free with no signup.

How accurate is the JSON structure?

The AI model reads the document's layout and produces well-structured JSON, but always spot-check the result against the original PDF for anything critical.