PDF to Markdown

Turn a PDF into tidy Markdown: headings, paragraphs, bullet and numbered lists, tables, bold and italic text, and links.

Converted on your device: the PDF is never uploaded. Works with PDFs that contain real text; scanned pages need OCR first.

How to convert PDF to Markdown

  1. Choose a PDF with real text (up to 300 pages). If it has a password, enter it when asked.
  2. Check the counts of headings, lists, tables and links, choose whether to keep page numbers and what goes between pages, and switch to Preview to see the result.
  3. Copy the Markdown or download the .md file.

How it works

The converter reads where each piece of text sits and how big it is. The size most of the text uses counts as body text; lines at least 1.6 times that size become # headings, 1.3 times ## and 1.15 times ###. Lines starting with a bullet (•, –, -) or a number like 1. or a) become list items, and indented lines below an item continue it. Text set apart in columns on two or more lines in a row becomes a table. Other lines join into paragraphs until a larger gap or a line that was clearly broken on purpose (a short line whose next word would have fitted). Web and email links in the PDF are kept; other kinds of links are dropped.

Example

A page with a 24 pt title, a 15 pt subheading, two lines of 11 pt text, two bullets, two numbered steps and a sentence with a link becomes:

# Project Handbook

## Getting started

Install the app from the store and sign in. Your data stays on your phone.

- Open Settings
- Choose a theme

1. Back up weekly
2. Keep two copies

Read [the guide](https://palz.co.in/guide) for details.

24 ÷ 11 = 2.2 times the body size, so the title is a level 1 heading; 15 ÷ 11 = 1.36, so the subheading is level 2. Pages are separated by a line of three dashes.

Want a web page instead? Use PDF to HTML. For editing with formatting, PDF to Word is the better fit.

Frequently asked questions

Why convert a PDF to Markdown?

Markdown is plain text with light marks for headings, lists, tables and links. It pastes cleanly into note apps such as Obsidian and Notion, into GitHub and documentation sites, and into AI chat tools, which read structured text more reliably than a raw PDF.

Are tables converted?

Yes. Rows of text that line up in columns become a Markdown table, with the first row as the header, and a cell wrapped onto a second line stays in its cell. Tables that are pictures, or cells merged across several columns, can come out as plain lines.

What happens to page numbers, headers and footers?

Lines that repeat at the top or bottom of most pages, such as page numbers and a running title, are left out so they don't interrupt your text. The tool says how many it left out, and Keep puts them back.

Does it work for Hindi, Arabic, Chinese and other languages?

Yes. Text is read in reading order, including Indian scripts and right-to-left Arabic and Hebrew, and Chinese or Japanese lines are joined without stray spaces.

Are images or scanned pages converted?

No. Only text and its structure are converted. A scan is a picture of text, so run it through Image to Text (OCR) first; use PDF to Image if you need the pictures.

Is my PDF uploaded? Can it open password-protected files?

Nothing is uploaded: the conversion runs in your browser. For a password-protected PDF, enter its password when asked; it only unlocks the file on your device.

More PDF tools

See all PDF tools →

Can't find the tool you need? Tell us.