How to convert a PDF to Markdown for ChatGPT

For a short text PDF you don't need to convert anything: attach it to ChatGPT. Convert to Markdown when the PDF is long, full of tables, or you want to reuse it in a custom GPT or project, because you control exactly what text goes in. Paste the PDF link into our page reader for a free preview (5 a day), or use the API for the full text at $0.02 per file.

Try it free Read Any Web Page, PDF or Doc — clean Markdown for AI agents · $0.02 / call

When converting is worth it

Convert one without writing code

  1. Get a link that opens the PDF file itself. A share link that opens a viewer page is not the file.
  2. Open the page reader listing at /l/XyehnOmhOzAF and paste the link into the free try.
  3. Read the result. The free preview shows the first 4,000 characters; the API returns the whole document.
  4. Copy the Markdown into ChatGPT, or save it as a .md file and upload it to your GPT or project.

A prompt to paste with it

Below is a document in Markdown. Headings start with #, tables use |.
Answer only from this document. If the answer is not in it, say so.
Quote the section heading you used for each answer.

---
[paste the Markdown here]

If you have many PDFs

The API takes the same link and returns the full Markdown in one call for $0.02, charged only when the file is read. There is no account or API key: it is paid per call in USDC on Base with x402, so you need a crypto wallet and an x402 client. If that is more setup than you want, a local tool like pymupdf4llm is free and keeps the files on your computer.

Your options side by side

OptionBest forLimit
Attach the PDF to ChatGPTShort PDFs with plain textYou don't see what text it extracted
Page reader free tryChecking a few files by hand5 a day, preview shows 4,000 characters
Page reader APIFull text, many files, automation$0.02 per file, needs a USDC wallet
Local tool (pymupdf4llm, marker)Private or confidential filesNeeds Python on your computer

The product

Questions

Does my PDF need to be public?

Yes, the reader fetches it from the link you give. For confidential files use a local tool instead of any online converter.

What about a scanned PDF?

A scan is pictures of pages, so there is no text to convert. ChatGPT can sometimes read the images itself; otherwise use an OCR tool.

Is Markdown better than pasting plain text?

For anything with headings or tables, yes. Plain text loses which line is a heading and which numbers belong to which column.

Related

Updated 2026-12-01