# PDF to Markdown

> Upload a PDF and turn its text, headings, lists and tables into Markdown (.md), merging tables that span pages. One PDF up to 50 MB and 50 pages, 1 credit per page. The PDF is uploaded and parsed on the server; results stay for 24 hours.

**PDF to Markdown - Convert PDF to Markdown (.md) Online | docsmall**

- Canonical HTML: https://docsmall.com/en/pdf-to-markdown
- Markdown: https://docsmall.com/en/pdf-to-markdown.md
- Language: en
- Updated: 2026-11-25
- Limits: One PDF, up to 50 MB and 50 pages.

Extract a PDF's text, headings, lists and tables into Markdown

docsmall's PDF to Markdown reads the pages of a PDF, recognises headings, paragraphs, lists and tables from the layout, and returns Markdown (.md) text you can use in docs, notes and static sites. Tables that continue across pages are merged into one table where possible. One PDF per run, up to 50 MB and 50 pages, 1 credit per page. The PDF is uploaded and parsed on the server, and results stay for 24 hours.

## Price · Processing · Input limits · Output

- **Price:** Free daily credits; 1 credit per PDF page
- **Processing:** Parsed on the server; the PDF is uploaded
- **Input limits:** One PDF, 50 MB, up to 50 pages
- **Output:** Markdown (.md) text with headings, lists and tables

PDF to Markdown returns structured text. It is not a screenshot of the PDF and not a formatted Word document. The tool reads the PDF's text layer, relies on text recognition for scanned pages, then writes the layout into Markdown headings, paragraphs, lists and tables. Tables use Markdown table syntax, and tables that continue across pages are requested as one merged table. It suits reports, standards, papers and manuals that need to go into a knowledge base, a notes app or a documentation project. It does not suit tasks that must keep fonts, colours, columns, headers and footers, or the original image files. Output still needs a human review, and complex layouts and scans are more likely to contain errors.

- Structured output: headings, paragraphs, lists and tables are generated from the detected hierarchy, so the text can be edited and searched directly.
- Side-by-side review: the source page is shown on the left and the Markdown blocks on the right. Blue boxes link both sides, so you can check a table or paragraph from either direction.
- One file per run: each run handles one PDF and produces one .md named after the source file. Images inside the PDF are not exported with the text.

## How to convert a PDF to Markdown

Choose a PDF, check the page count and credits, start parsing, then review the result and download the .md. Parsing runs on the server and the PDF is uploaded.

1. **Choose one PDF** — Click the upload area, drop a file, or focus the upload area and press Enter or Space. Only one PDF is accepted, up to 50 MB and 50 pages. Files over 50 pages or not in PDF format are rejected before upload, and encrypted PDFs must be unlocked first.
2. **Check pages and credits** — The browser reads the page count and shows how many credits this run needs and how many are available. With enough credits the PDF uploads automatically; without enough, the purchase dialog opens and no upload is created. Click “Start” after the upload finishes.
3. **Review and download the .md** — When parsing finishes, the source file on the left and the Markdown on the right can locate each other. Check heading levels, paragraph order and table content, then use “Copy Markdown” or “Download .md”. The file keeps the source PDF's base name, and results stay available for 24 hours.

## PDF to Markdown guide

What the conversion returns, how text extraction and layout analysis work, which PDFs work best, the Markdown structure, linked review, upload and privacy, plus limits and credits.

### What do you get from PDF to Markdown?

The result is Markdown (.md) text containing the recognised headings, paragraphs, lists and tables. Headings become Markdown heading lines, lists become bullet or numbered lists, and tables become Markdown tables. All of it can be edited, copied and searched in any text editor.

The output contains only text structure. Page images, fonts, colours, column positions, headers and footers are not included. Photos, illustrations, stamps and signatures in the source PDF are not exported as image files; use PDF Extract Images or PDF to Image when you need those pictures.

The result panel shows the source PDF on the left and Markdown blocks on the right. Blue boxes mark the text elements that can be located on the current page. This link is only for review and never changes the Markdown you download.

- Output is .md text; there is no Word, Excel or PPT version.
- Headings, paragraphs, lists and tables are rebuilt with Markdown syntax where possible.
- Images in the PDF are not exported, and fonts, colours and columns are not preserved.

### How does PDF to Markdown work?

A PDF can hold two kinds of content. A digital PDF with a text layer stores characters and position information, so the text can be read directly. A scanned PDF is a picture on every page, so text recognition has to run first, followed by layout analysis.

The parsing service groups text blocks on the page, decides which are headings, body text, lists or tables, works out the reading order, and writes the result as Markdown. Tables become Markdown tables, and tables that continue across pages are requested as one logical table.

Recognition and layout decisions are automatic, not a character-by-character copy. Blur, skew, shadows, low resolution, display type, handwriting and complex tables all reduce accuracy, and converting the same PDF twice can produce slightly different output. Keep the original PDF and review important files.

- Digital PDFs are read from their text layer; scanned pages need recognition first.
- Layout analysis decides heading levels and the boundaries of paragraphs, lists and tables.
- Tables that span pages are merged on request, but complex tables can still split or lose headers.

### Which PDFs work best?

This page accepts one PDF up to 50 MB and 50 pages. Digital PDFs with a text layer are usually the most stable. Scans and image-only PDFs depend on recognition quality, and sharpness, contrast and scan angle directly affect the result.

For scans, 200–300 dpi is a good target, with a flat, upright page and even lighting. PDFs made from phone photos should avoid shadows, glare and skew. PDFs close to 50 pages or full of images take longer to parse, so consider PDF Split or PDF Compress first.

Encrypted or password-protected PDFs cannot be parsed until the password is removed. Corrupt, blank or non-PDF files are rejected. Split PDFs over 50 pages and compress PDFs over 50 MB before coming back.

If converted documents end up with shifted columns, uneditable scans, or broken tables, check how to diagnose your source file first: [PDF to Word Layout Looks Wrong? Identify the PDF Type First](https://docsmall.com/en/blog/pdf-to-word-layout).

- Digital PDFs are the most stable; scans depend on recognition quality.
- One PDF of up to 50 MB and 50 pages; compress or split anything larger first.
- Unlock encrypted PDFs and repair corrupt files before uploading.

### What does the Markdown structure look like?

The tool writes page content with common Markdown syntax: headings use # through ######, paragraphs are separated by blank lines, lists use - or 1., and tables use pipe-separated Markdown tables. The exact heading levels come from layout analysis and do not map one-to-one to the original font sizes.

Tables matter most here. When one table continues across pages, the tool asks for the following rows to be merged into the first table instead of producing several small tables with repeated headers. The merged result depends on the detected headers and column structure, so merged cells, nested tables and borderless tables can still be incomplete.

Special characters, pipes and line breaks are handled according to Markdown rules so tables and paragraphs are not broken. The output is meant for Markdown editors, notes apps, code repositories and static site generators. If a target platform has its own Markdown dialect, you may need to adjust the file after download.

- Headings, paragraphs, lists and tables use standard Markdown syntax.
- Tables that span pages are merged when possible; check complex tables by hand.
- Output targets common Markdown and is not guaranteed to match one platform exactly.

### How do you review, copy and download the result?

When parsing finishes, the result panel shows Markdown blocks that can be scrolled. The source PDF on the left can be paged, and clicking a blue box locates the matching result block; clicking a result block switches back to the matching page.

“Copy Markdown” writes the full text to the clipboard. “Download .md” creates a UTF-8 text file named after the source PDF, for example report.pdf becomes report.md.

This page handles one PDF at a time, never merges several files and does not provide a ZIP. Results stay on the server for 24 hours and then expire; save the text you need before leaving.

- Review the result on the right and the source PDF on the left; both can locate each other.
- Copy or download the .md, which keeps the source PDF's base name.
- One file per run; no merging and no ZIP.

### How are files uploaded, processed and downloaded?

After you choose a file, the browser checks that it is a PDF and within 50 MB, then reads the page count. PDFs over 50 pages or encrypted PDFs are reported immediately and are not uploaded.

Once the page count is known, the page requests the credit balance. With enough credits the PDF uploads automatically and only a status line is shown; without enough, a notice appears, the purchase dialog opens and no upload is created. After payment succeeds the credits are checked again and the upload starts automatically.

After the upload, a parsing task is created and the page keeps checking its status, waiting up to about 20 minutes. If it fails, read the message and retry; a retry reuses the uploaded PDF, so you do not need to choose the file again.

- Type, size, page count and credits are checked before upload.
- Parsing runs on the server while the page long-polls the task status.
- A retry reuses the uploaded PDF instead of uploading it again.

### Is the PDF uploaded to a server?

Yes. PDF to Markdown depends on server-side text extraction, recognition and layout analysis. The PDF is uploaded to docsmall storage and processed by the parsing service; the browser only chooses the file, reads the page count, checks credits, uploads and displays the result.

Uploads and downloads use HTTPS, and the source file and result expire after 24 hours. The page does not require an account, and PDF content is not used for anything other than this conversion.

For ID documents, contracts, medical records or internal material that must not go to a third party, use locally installed PDF or text-extraction software instead of this page.

### What are the limits, compatibility and caveats?

Input is a single PDF: up to 50 MB and 50 pages, and encrypted, corrupt or non-PDF files are not accepted. Compress a PDF over 50 MB first, or split one over 50 pages with PDF Split, then convert the parts here.

This page only converts PDF to Markdown. It does not export Word, Excel, PPT or images, and it does not provide PDF editing, translation or a manual OCR review screen. Use PDF to Word when you need an editable layout; use PDF Extract Images or PDF to Image when you need the pictures from a PDF.

Recognition is not checked by a person. Scans, handwriting, display type, formulas, text covered by stamps and complex tables can contain errors, and the output is not guaranteed to match the original word for word or to keep table structure, heading levels and reading order exactly right. A run may wait up to about 20 minutes, results stay for 24 hours, and each page costs 1 credit.

## How three PDF types are parsed into Markdown

The content of a PDF decides how it is parsed and what to check afterwards. The table below covers digital, scanned and table-heavy PDFs, their typical traits and processing, and common results. Actual quality depends on the file.

| PDF type | Typical traits | Processing | Common result and advice |
| --- | --- | --- | --- |
| Digital PDF | Exported from Word, layout software or a browser. Text can be selected and copied, usually with font and position information. | Read the text layer and write Markdown headings, paragraphs and tables from the layout. | Text is usually the most stable; still check heading levels, lists and table rows. Images are not exported. |
| Scanned PDF | Every page is a scan or photo. Text cannot be selected, and skew, shadows and page borders are common. | Run text recognition first, then rebuild paragraphs and tables with layout analysis. | Quality depends on sharpness; 200–300 dpi is recommended. Check numbers, dates and proper nouns page by page. |
| Table-heavy or cross-page table PDF | Content is mostly tables, possibly continuing across pages, with merged cells or complex borders. | Parse by table structure and ask for following rows to merge into one logical table across pages. | Common tables often merge correctly, but complex tables can split or lose headers. Compare row counts and column names with the source PDF. |

## Practical tips for PDF to Markdown

These habits reduce recognition errors and rework, and make the output closer to Markdown you can use as is.

### Check whether the PDF has a text layer

Try to select and copy a passage in a PDF reader. If it selects, the PDF has a text layer and is usually more stable. If it does not, the file is a scan and needs recognition, so check its sharpness first.

### Scan at a readable resolution

200–300 dpi is usually enough. Keep the page flat and upright with even lighting, and avoid shadows, glare and skew. Rescanning a blurry or crooked page is faster than converting it repeatedly.

### Split over 50 pages and compress over 50 MB

This page accepts one PDF of up to 50 pages and 50 MB. Use [PDF Split](https://docsmall.com/en/pdf-split) when there are more pages and [PDF Compress](https://docsmall.com/en/pdf-compress) when the file is too large, then return here to convert.

### Unlock encrypted PDFs first

A password-protected PDF cannot be read. Remove the password in a reader or the original application, save a copy, and then upload it here.

### Check headers and cross-page merging for tables

After downloading, compare column names, row counts and headers with the source PDF. If a cross-page table was split into several tables, merge it by hand or use [PDF to Word](https://docsmall.com/en/pdf-to-word) to keep the full table structure.

### Review the download and keep the original PDF

Focus on heading levels, numbers, amounts, dates, proper nouns and table rows. Results stay for 24 hours, so save the .md as soon as the conversion finishes and keep the original PDF for comparison.

## PDF to Markdown FAQ

### How much does this tool cost?

A free daily allowance is provided, and each PDF page costs 1 credit. You can buy more when it runs out, and paid credits are valid for 24 hours. Credits are deducted when a task is created; if processing fails they are refunded automatically. See [free credits and pricing](https://docsmall.com/en/credits).

### Which files are supported, how large, and how many pages?

One PDF only, up to 50 MB and 50 pages. Encrypted, corrupt or non-PDF files are rejected. PDFs over 50 pages must be split with [PDF Split](https://docsmall.com/en/pdf-split) first.

### Is the PDF uploaded, and how long are results kept?

Yes. The PDF is uploaded to docsmall storage and parsed on the server, and results are kept for 24 hours. For confidential files that cannot be uploaded, use locally installed PDF software instead.

### What file do I get after conversion?

Each PDF produces one Markdown (.md) text file named after the source PDF. It contains the recognised headings, paragraphs, lists and tables, and does not contain the PDF's image files.

### Can scanned PDFs be converted?

Yes, but the result depends on text recognition. A sharp, upright, evenly lit 200–300 dpi scan works best; blurry, skewed or low-resolution scans are more likely to contain errors and need a closer review.

### What will tables look like?

Tables are written with Markdown table syntax where possible, and a table that continues across pages is requested as one logical table. Merged cells, nested tables and borderless tables can still be incomplete, so compare column names and row counts with the source PDF after downloading.

### Are images in the PDF exported too?

No. The output is Markdown text without image files. For the original images inside a PDF, use [PDF Extract Images](https://docsmall.com/en/pdf-extract-images); for whole-page images, use PDF to Image.

### Are the layout, fonts and colours preserved?

No. Markdown only expresses structure such as headings, paragraphs, lists and tables. Fonts, font sizes, colours, columns, margins, headers and footers are not preserved.

### What is the linked view in the result area?

The left side shows the source PDF page and the right side shows Markdown blocks; the blue boxes match text elements on the page. Clicking either side highlights and locates the other side so you can check tables and paragraphs, but it never changes the downloaded Markdown.

### What if the PDF is over 50 pages or 50 MB?

Split the pages with [PDF Split](https://docsmall.com/en/pdf-split) or reduce the size with [PDF Compress](https://docsmall.com/en/pdf-compress), then return to this page and convert the parts. Encrypted PDFs must be unlocked first.

### Where can I open the Markdown?

Open it in any text editor, or import it into a Markdown notes app, code repository or static site generator. Platforms differ slightly in their Markdown dialect, so adjust the file after download if needed.

### Are several PDFs merged into one .md?

No. This page handles one PDF per run and produces one .md, with no merging or ZIP. If you need combined content, use [PDF Merge](https://docsmall.com/en/pdf-merge) to combine the PDFs first, then convert the merged file.

### How long does it take, and what happens if it fails?

Time depends on the page count, the amount of text and service load, and the page waits up to about 20 minutes. If it fails, read the message and retry; a retry reuses the uploaded PDF, and failed processing refunds the credits automatically.

### Which tool should I use for Word, Excel, PPT or images?

Use [PDF to Word](https://docsmall.com/en/pdf-to-word) when you need an editable document that keeps the layout; use [PDF Extract Images](https://docsmall.com/en/pdf-extract-images) for the original images inside a PDF; use [PDF Compress](https://docsmall.com/en/pdf-compress) when you only need a smaller file.

## Related PDF tools

Common tasks before and after PDF to Markdown can be done with these tools. Each opens in the current language.

- [PDF to Word](https://docsmall.com/en/pdf-to-word) — When you need to keep paragraphs, tables and layout and keep editing, converting to Word is the better path.
- [PDF Extract Images](https://docsmall.com/en/pdf-extract-images) — Extract the original images embedded in a PDF by object and download them in a ZIP.
- [PDF Compress](https://docsmall.com/en/pdf-compress) — If one PDF is over 50 MB, compress it below the limit before coming back here.

## Choose or drop a PDF to convert to Markdown

- One PDF, up to 50 MB and 50 pages.
- Files are uploaded and converted on the server. Each file becomes a separate .md file.

## Markdown preview

- The Markdown will appear here after conversion.
- Reading the PDF page count…
- **Copy Markdown** / **Download .md** / **Replace PDF**

- Click a blue box to jump between both sides
- Page 1 of 2
- Locatable text blocks: 5

- Only one PDF can be processed at a time. The first file was selected.
- No text could be extracted from this PDF.
- “report.pdf” has 60 pages. PDF to Markdown supports up to 50 pages.
- Needs 2 credits · 1 available

Files are uploaded for server-side conversion. Results are kept for 24 hours.

## English

[中文](https://docsmall.com/pdf-to-markdown) · [**English**](https://docsmall.com/en/pdf-to-markdown) · [Français](https://docsmall.com/fr/pdf-to-markdown) · [Español](https://docsmall.com/es/pdf-to-markdown) · [Italiano](https://docsmall.com/it/pdf-to-markdown) · [Deutsch](https://docsmall.com/de/pdf-to-markdown) · [Bahasa Indonesia](https://docsmall.com/id/pdf-to-markdown) · [Português](https://docsmall.com/pt/pdf-to-markdown) · [日本語](https://docsmall.com/ja/pdf-to-markdown) · [한국어](https://docsmall.com/ko/pdf-to-markdown) · [ไทย](https://docsmall.com/th/pdf-to-markdown) · [Tiếng Việt](https://docsmall.com/vi/pdf-to-markdown) · [العربية](https://docsmall.com/ar/pdf-to-markdown) · [Русский](https://docsmall.com/ru/pdf-to-markdown)

---

[docsmall](https://docsmall.com/en) · [HTML](https://docsmall.com/en/pdf-to-markdown) · [llms.txt](https://docsmall.com/llms.txt) · [sitemap.xml](https://docsmall.com/sitemap.xml)
