Skip to content

PDF to Markdown

Turn a PDF into Markdown you can edit, with its headings, lists and tables kept.

Needs our servers

Drop PDF files here

Needs our servers. You confirm before anything is uploaded.

Deleted 60 minutes after you download it.

Get the words of a report, paper or manual out of a PDF and into plain text you can edit, paste into a wiki or hand to an AI assistant. FormatJet writes a Markdown file that keeps the document’s structure, with its headings, lists, tables, links and code, and opens in any text editor. The PDF is converted on our servers by our own engine, and the notice before you upload says when it’s deleted.

About the formats

PDFPDF document

PDF is the standard format for documents that should look the same everywhere. It can hold text, images and vector graphics across many pages.

MarkdownMarkdown document

Markdown is plain text with light marks for formatting: # for headings, * for lists, | for tables. People read it as it is, and AI assistants, wikis and code hosts take it directly.

Converted with PDF to Markdown (opendataloader-pdf).

Questions

What does the Markdown keep from my PDF?

Headings become Markdown headings, bulleted and numbered lists stay lists with nested items indented, and tables become Markdown tables. In paragraphs and lists, bold, italic and underlined words are marked and web and email links stay links. Code set in a fixed-width font stays code, with its indentation, and equations, displayed or within a sentence, come out as LaTeX when every symbol in them reads. Running headers and footers are left out.

What happens to pictures and charts?

Markdown is text, so pictures aren’t included. Each one leaves a “[Picture]” line where it was, with the PDF’s own description of it when it has one. A chart drawn in the PDF, rather than pasted in as a picture, usually keeps its labels, legend and axis numbers on one line.

Which PDFs give the best Markdown?

PDFs saved from documents and web pages, such as reports, papers, manuals and articles. A PDF with accessibility tags is read through them, so its headings and tables come out as its author marked them. One without tags is read from its layout, which finds most of its headings, lists and tables, though not every one.

Can I convert a scanned PDF to Markdown?

Only if it already has a text layer. A scan is a picture of each page, and this converter reads a PDF’s text without running OCR. A scan with no text fails with a message and costs nothing; one that your scanner or another app has already run OCR on converts with that text.

Does an AI model read my PDF?

No. Our own engine converts it on our servers with open-source, rule-based software, not a language model, and no other service sees the file. The PDF is deleted as soon as the Markdown is ready, and the Markdown soon after you download it; the notice before you upload gives the exact time.

PDF to Markdown with the API

Convert from your code with one request. See the PDF to Markdown API

curl "https://api.formatjet.com/v1/convert?conversion=pdf-to-markdown" \
  -H "Authorization: Bearer $FORMATJET_API_KEY" \
  -F file=@input.pdf \
  -o output.md