# PDF to Markdown API

Source: https://pdfluent.com/extract/markdown/

A PDF in. Clean Markdown out.

One request. Headings, lists and tables come back in reading order.

[Try the API for $1](https://console.pdfluent.com/signup)[Markdown reference](https://pdfluent.com/docs/api/reference/extract-markdown/)

USD 1

per 1,000 pages

At fast, 1 credit a page

3 qualities

one endpoint

fast, balanced, auto

Pipe tables

in the answer

Headings and lists in order

Price

65% cheaper*

vs Unstructured Balanced. 10,000 pages a month, balanced.

- fast, per 1,000 pages USD 1
- balanced, per 1,000 pages USD 4
- auto, per 1,000 pages USD 8

10,000 pages a month

- PDFluent USD 34.66
- Unstructured Balanced USD 100 · 65%
- Reducto r-1 USD 100 · 65%
- LlamaParse Cost-effective USD 45 · 22%
- Mistral OCR 4.1 USD 40 · 13%

[All Extract prices](https://pdfluent.com/extract/pricing/)[Compare with LlamaParse, Docling and Unstructured](https://pdfluent.com/extract/compare/)

Code

## One request.

```
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/extract/markdown" \  -H "x-api-key: $PDFLUENT_API_KEY" \  -F file=@report.pdf \  -F 'options={"quality":"balanced"}' \  -o report.md
```

Questions

## Questions

### What does the API return? +

Markdown with the text in reading order, headings, lists and tables. The tables come back as Markdown pipe tables.

### Does it read scanned PDFs? +

Yes, at the auto quality, which reads scanned pages with OCR. The fast quality does not run OCR.

### Can I use it for RAG? +

Yes. The chunks endpoint returns pieces with their text, page number and position, ready to embed.

* How we counted

- List prices from each vendor’s site, read 27 November 2026.
- The cheapest plan that covers 10,000 pages a month.
- One job: 10,000 pages at balanced. Tiers are paired by price, not measured quality.

## Try it for USD 1.

[Try the API for $1](https://console.pdfluent.com/signup)[Quickstart](https://pdfluent.com/docs/api/quickstart/)

- [Available on Microsoft Marketplace](https://marketplace.microsoft.com/en-us/product/pdfluent.pdfluent-api)

More jobs: [RAG chunks](https://pdfluent.com/extract/chunks/)[Tables](https://pdfluent.com/extract/tables/)[Schema extraction](https://pdfluent.com/extract/schema/)

[All Extract use cases](https://pdfluent.com/extract/) · [Pricing](https://pdfluent.com/extract/pricing/) · [Compared](https://pdfluent.com/extract/compare/) · [Free editor](https://pdfluent.com/guides/export-pdf-to-markdown/) · [SDK](https://pdfluent.com/how-to/extraction-formats/)
