PDF to JSON Converter
Upload a PDF and get its content back as clean, structured JSON: the full text, document title, page count, and metadata in one predictable schema. Built for developers — the same conversion is one API call away.
Drop a file here or browse
Accepts PDF files
Free — 3 requests/day, no signup. for 300 credits/month free.
How it works
Upload your PDF
Drop a PDF file above or click to browse. Text-based, scanned, and mixed-content PDFs all work.
Parse to structured JSON
ParseJet extracts the text, title, and metadata and assembles them into a single JSON object with a consistent schema.
Copy or integrate
Copy the JSON output, or call the API to convert PDFs to JSON inside your application — same schema every time.
Key features
What makes this pdf to json stand out.
Predictable schema
Every response has the same shape: { text, title, source_type, metadata }. No per-document surprises to handle downstream.
Metadata included
Page count, author, and creation date come back alongside the text — useful for indexing, auditing, and deduplication.
Scanned PDF support
Image-only pages are processed with OCR automatically, so scanned documents produce real JSON text, not empty fields.
Markdown-structured text
The text field preserves headings, lists, and tables as Markdown inside the JSON — structure survives the conversion.
Valid JSON, always
Output is properly escaped UTF-8 JSON that parses first try — no truncated strings or broken encoding to clean up.
Batch via API
Convert thousands of PDFs to JSON with a simple loop — one HTTP endpoint, no PDF libraries to install.
Use cases
Common scenarios where this tool saves you time.
Feed PDFs to your application
Turn invoices, reports, and contracts into JSON your backend can store, query, and route — without writing PDF parsing code.
RAG and AI pipelines
LLM pipelines consume JSON, not PDFs. Convert documents to a clean {text, metadata} object ready for chunking and embedding.
Search indexing
Push the JSON straight into Elasticsearch, Meilisearch, or Algolia — text for full-text search, metadata for filters.
Data extraction workflows
Standardize incoming documents into one JSON schema before rules or models pull out the fields you care about.
Automate with the API
Use the same tool programmatically. Works with any language — just HTTP.
# Convert a PDF to JSON curl -X POST https://api.parsejet.com/v1/parse/auto/file \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "[email protected]" # Response (JSON): # { # "text": "# Title\n\nDocument content...", # "title": "Document Title", # "source_type": "pdf", # "metadata": { "pages": 12, "author": "..." } # }
import httpx, json
resp = httpx.post(
"https://api.parsejet.com/v1/parse/auto/file",
headers={"Authorization": "Bearer YOUR_API_KEY"},
files={"file": open("document.pdf", "rb")},
)
data = resp.json() # already structured JSON
print(data["title"]) # document title
print(data["metadata"]) # pages, author, ...
json.dump(data, open("document.json", "w"), ensure_ascii=False) const formData = new FormData();
formData.append("file", pdfFile);
const res = await fetch("https://api.parsejet.com/v1/parse/auto/file", {
method: "POST",
headers: { Authorization: "Bearer YOUR_API_KEY" },
body: formData,
});
const json = await res.json(); // { text, title, source_type, metadata }
await db.documents.insert(json); // store it, index it, query it Want to automate this?
ParseJet API gives you the same parsing power via a single HTTP endpoint. No ffmpeg, no poppler, no tesseract — just one API call.
Frequently asked questions
How do I convert a PDF to JSON?
Upload your PDF above — ParseJet parses it and returns a JSON object with the full text, document title, and metadata. For automation, POST the file to /v1/parse/auto/file; the response is the JSON.
What does the JSON output look like?
A single object with a consistent schema: "text" (the full content, with headings and tables preserved as Markdown), "title", "source_type", and "metadata" (page count, author, creation date). The same shape for every document.
Can it extract specific fields, like invoice numbers?
ParseJet returns the complete text and metadata as JSON; field-level extraction is then a simple step in your code or an LLM prompt over the "text" value. Getting reliable, structured text out of the PDF is the hard part — that is what ParseJet does.
Does it work on scanned PDFs?
Yes. Image-only pages are processed with OCR automatically, and the recognized text appears in the JSON like any other content.
Is there a PDF to JSON API?
Yes — that is the core product. POST /v1/parse/auto/file with your PDF and the response is structured JSON. Free API keys include 300 credits per month; a PDF costs 3 credits.
Is it free?
Yes. You get 3 free conversions per day with no signup. Create a free account for 300 credits per month. Paid plans start at $19/month for production workloads.
Related tools
PDF to Markdown Converter
Convert PDF to Markdown online for free. Preserves headings, lists, tables, and code blocks. No signup required — try it instantly or automate via API.
PDF Parser
Parse PDF files to extract text, metadata, and structure. Free online tool and developer API. A modern alternative to pdf-parse and pdfplumber.
PDF to Text Converter
Convert PDF to plain text online for free. Handles multi-page documents, scanned PDFs with OCR, and complex layouts. No signup — or automate via API.