ParseJet

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

1

Upload your PDF

Drop a PDF file above or click to browse. Text-based, scanned, and mixed-content PDFs all work.

2

Parse to structured JSON

ParseJet extracts the text, title, and metadata and assembles them into a single JSON object with a consistent schema.

3

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.

cURL
# Convert a PDF to JSON
curl -X POST https://api.parsejet.com/v1/parse/auto/file \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf"

# Response (JSON):
# {
#   "text": "# Title\n\nDocument content...",
#   "title": "Document Title",
#   "source_type": "pdf",
#   "metadata": { "pages": 12, "author": "..." }
# }
Python
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)
JavaScript
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.

curl -X POST https://api.parsejet.com/v1/parse/auto/url \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com"}'
Read API Docs

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.

Start extracting text for free

No signup required. Parse your first file in seconds.

View Pricing