# PDF to Markdown

Extract text from a PDF into an editable .md file for notes, documentation or an AI workflow.

Turn a PDF into an editable Markdown file for notes, documentation or an AI workflow. Built-in OCR reads scanned pages; check tables and reading order before reuse.

[Open the tool on PDF Fan](https://pdf.fan/pdf-to-markdown/)

## How to convert a PDF to Markdown

1. Select one PDF and check the preview.
2. Click Convert to Markdown. The tool uses the embedded text when available and attempts OCR on image-based pages that have no text.
3. Download the .md file, open it in a text editor and check the section order against the PDF.

### Try the numbered PDF

Convert the seven-page sample and check that the page numbers appear in order in the .md file. This sample already contains selectable text.


- [Download sample PDF](https://pdf.fan/samples/numbered-pages.pdf)

### Review tables and multi-column pages

Markdown is editable text, not a picture of the page, so the order of the text comes from what the converter can work out: on a page with two or three columns, merged table cells or footnotes, that order may not run the way you read it. Open the PDF and the .md file side by side and check each such page before you reuse the text, and where a column has slipped into the middle of a sentence or a merged cell has split a row, put the order right by hand.

When a supplier sends you a specification as a PDF and you need its terms in your own notes, convert the file to Markdown first, then paste the plain text into the note or the document you keep. The sections arrive as editable headings, lists and paragraphs, so you can quote a clause or rewrite it in your own words instead of retyping the page.

### Formats, limits and privacy

- **Input formats**: PDF
- **File limits**: One PDF: up to 25 MB and 200 pages.
- **Source-file processing**: The source files are processed in your browser.
- **Price**: Free
- **Account**: No PDF Fan account required

### Frequently asked questions

### Can it convert scanned PDFs?

Yes. When a page has no selectable text, the converter attempts OCR on it, using English and the language of this tool page. Faint print, handwriting and tilted scans often come out with errors, so read the .md file against the PDF before you reuse the text.

### Will the Markdown look like my PDF?

No. Markdown is editable text, not a copy of the page. It can carry headings, lists and simple tables, but multi-column pages, tables with merged cells, footnotes and graphics come through in a reading order the converter has to infer. Open the PDF beside the .md file and check those parts before pasting the text into a document or an AI tool.

### What happens to my original files and the result?

The source files are processed in your browser. PDF Fan uploads a temporary copy of the generated output for the download link.

- [Recognize text with OCR](https://pdf.fan/ocr-pdf/)
- [PDF Fan FAQ](https://pdf.fan/faq/)
