# PDF to Markdown converter for LLMs and RAG

Canonical URL: https://webcite.co/tools/pdf-to-markdown | Last updated: 2026-11-25

See what Webcite returns when it converts a PDF to Markdown: saved conversions of an IRS tax form and a Bureau of Labor Statistics table, each linked to the PDF that was read. Anyone can open them without an account. Sign in to convert your own PDF; the Free plan includes 100 credits.

## Saved conversions

Responses recorded from the Webcite API on 24 November 2026. Opening one reads the saved file.

## Convert your own PDF

Your own files run on your account. After you sign in, create an API key, then convert from the command line:

```bash
npx webcite login
npx webcite extract report.pdf > report.md
```

`extract` prints the Markdown to stdout and the state and charge to stderr. The [extraction quickstart](https://webcite.co/api-docs/extraction) has the same job in curl and Python.

[Sign in to convert your PDF](https://webcite.co/signup)

## What it handles

- Scans: every page is read from its image, so a page with no text layer still converts.
- Tables: HTML tables inside the Markdown, with merged cells kept.
- Charts: a picture element keeps its lettering and any chart data table in `markdown`, and a description in `description`.
- Forms: pages with fields, check boxes or fill-in lines are read as `form` pages.
- Files up to 100 MB. Spreadsheets, DOCX, PPTX, HTML and text files are read from the file itself and cost 0 credits.

## Use it from an agent

The hosted MCP server gives an agent the same conversion through `upload_url`, `upload_file` and `extract_document`, with OAuth sign-in. In Claude Code: `claude mcp add --transport http webcite https://api.webcite.co/mcp`. [Every client](https://webcite.co/mcp).

## Through the API

The [PDF to Markdown API](https://webcite.co/pdf-to-markdown-api) page has the request, a saved response and the cost of each mode. In its own full run, Webcite scored 91.74 overall on [ParseBench 2](https://webcite.co/benchmarks), the public document parsing benchmark.

## After the conversion

- [Check quotes in a batch](https://webcite.co/api-docs/batch): pass the same `asset_id` and a page, and each quote comes back with whether it was found in that source, for 1 credit a quote.
- [Fact-check API](https://webcite.co/fact-check-api): check a claim from the document against outside sources and get a verdict with quotes.
- [Citation API](https://webcite.co/citation-api): tie each answer to the exact quote, page or spreadsheet cell.
