PDF to text API

Extract text from PDFs
for your application.

Send scanned or digital PDFs to POST /parse. Read the text field for search and indexing, or use markdown and page elements when your pipeline needs layout.

Scanned and digital PDFsText, markdown, and elementsFrom $1 per 1,000 pages
MUTUAL NON-DISCLOSURE AGREEMENT
This Agreement is made on 2 September 2026 between Nimbus Cloud GmbH, 42 Speicherstrasse, Berlin ("Nimbus") and Acme Operations GmbH, 8 Marktgasse, Vienna ("Acme").
4. Term and termination
This Agreement remains in force for three (3) years from the date above. Either party may end it with thirty (30) days' written notice.
5. Governing law
This Agreement is governed by Austrian law. The courts of Vienna have exclusive jurisdiction.
Jonas Weber
Jonas Weber
CEO · Nimbus Cloud GmbH
Date: 02.09.2026
M. Fernández
Marta Fernández
COO · Acme Operations GmbH
Date: 02.09.2026
Nimbus × Acme · ConfidentialPage 2 of 2
fx=SUM(E4:E8)
ABCD
1
Payroll · September 2026
2 
3456789
EmployeeHoursGrossNet
J. Carter1688,333.336,212.40
L. García1607,100.005,402.75
A. Okafor1726,880.005,236.10
M. Fernández1505,400.004,180.20
S. Tanaka1647,950.005,970.35
Total81435,663.3327,001.80
Approved by Finance · 30 Sep 2026. Net pay is after income tax and social security. Transfers scheduled for 1 Oct 2026.
SeptemberAugustSummary
NNimbus Cloud GmbHCloud infrastructure
INVOICE
From
Nimbus Cloud GmbH
42 Speicherstrasse · 10115 Berlin
Bill to
Acme Operations GmbH
8 Marktgasse · 1010 Vienna
Invoice no.INV-2026-0718
Issued30 July 2026
Due13 August 2026
DescriptionQtyAmount
Cloud hosting subscriptionJuly 2026 · Production1€1.200,00
Subtotal€1.200,00
VAT 20%€240,00
Total due€1.440,00
Payment details
Bank transfer · IBAN DE89 3704 0044 0532 0130 00
Reference INV-2026-0718
Nimbus Cloud GmbH · Fictional demonstration invoicePage 1 of 1
CALIFORNIA COMMERCIAL LEASE AGREEMENT
This Lease Agreement made the 2025-05-20, by and between Hope Mante [name of lessor], of 925 The Mews [street address], hereinafter referred to as "Lessor", and Reilly Group [name of lessee], hereinafter referred to as "Lessee".
1. DESCRIPTION OF LEASED PREMISES
The Lessor agrees to lease to the Lessee 2448 square feet of Industrial Space located at 80369 Efren Burg, State of California.
2. TERM OF LEASE
The term of this Lease shall be 4 year(s) 5 month(s), commencing on the 20 May 2025 and expiring at midnight on 20 October 2029.
3. BASE RENT
The net monthly payment shall be 8646 dollars per month. A security deposit of 1395 dollars is required.
☑ Lessee may not renew the Lease.
☐ Lessee may renew with written notice 60 days prior.
Page 5 of 8
REPUBLIC OF ALDORIAIDENTITY CARD
Surname
MANTE
Given names
HOPE ELISE
Date of birth
14.03.1988
Sex
F
Document no.
AX4821937
Date of expiry
22.09.2031
H. Mante
Address
925 THE MEWS, ALDOR CITY
Issuing authority
CITY OF ALDOR · 22.09.2021
Height · Eyes
168 CM · BROWN
IDALDAX48219376<<<<<<<<<<<<
8803145F3109225ALD<<<<<<<<4
MANTE<<HOPE<ELISE<<<<<<<<
{
"invoice_no": "INV-2026-0718","due_date": "2026-08-13","total_due": 1440.00}

From PDF to searchable text

Preview a file in Studio, create an API key, then integrate the parse endpoint.

Step 1PreviewTest a representative PDF
Step 2ParseCall POST /parse
Step 3IndexRead the text field

Text for document pipelines

Use recognized text in search, retrieval, and downstream processing.

Search indexes

Index reading-order text so your application can search scanned reports and forms.

Retrieval pipelines

Use markdown when headings and tables help you split document content into chunks.

Source previews

Use page elements and their locations to connect text to the original document.

Document queues

Use async or batch parsing to process incoming PDFs and poll jobs for results.

Inspect OCR text before you integrate

Upload a sample PDF in Studio and compare the recognized text against the source.

Drop in the PDF.

PDF to text API FAQ

Output fields, scans, formats, and pricing.

How do I extract plain text from a PDF?

Send a PDF to POST /parse with an ocr_model and your API key. Read text from the successful ParsedDocument response. If the request returns 202, poll the job URL for the result.

Does the API work with scanned PDFs?

Yes. The selected OCR model recognizes text in scanned pages. Faint scans, unusual fonts, and complex layouts can reduce recognition quality. Check important text against the source.

What is the difference between text and markdown?

The text field contains reading-order plain text. The markdown field adds best-effort formatting. Use pages and elements when you need structured layout or source locations.

Which file formats can I upload?

PDF, PNG, and JPEG files up to 50 MiB. Encrypted PDFs are rejected. Provider page limits vary by model.

How much does PDF text extraction cost?

Open-weight hosted OCR starts at $1 per 1,000 parsed pages. Other models have their own rates. New accounts get $10 in free credits. Schema extraction adds language-model token costs.

Where is the API example?

See the document parsing request and response, or follow the API reference for endpoint details.

Try your PDF

Preview text extraction in Studio

Test a PDF, inspect its text, and create an API key for your integration. New accounts get $10 in free credits.