# PDF to Markdown Converter - Headings, Tables & Links Kept

> Convert PDF to clean Markdown for ChatGPT, Claude and other LLMs: headings, lists, bold/italic, GFM tables and links, minus headers and footers.

- URL: https://qilingtools.com/en/pdf/to-markdown
- Category: PDF Tools (https://qilingtools.com/en/pdf)
- Tags: [PDF](https://qilingtools.com/en/tags/pdf), [Markdown](https://qilingtools.com/en/tags/markdown), [Converters](https://qilingtools.com/en/tags/convert)
- Last updated: 2026-10-26
- Price: Free, no sign-up
- Privacy: Runs locally in the browser; files are never uploaded

Want to hand a paper, report or manual to ChatGPT, Claude or another LLM, or import it into Obsidian, Notion or a knowledge base? Copying text straight out of a PDF usually leaves broken lines, tables flattened into strings of numbers, and headers and footers mixed in. This tool reads the position, size and font of every piece of text, rejoins broken lines into paragraphs and ranks font sizes into # / ## / ### headings, also picking up bold one-line subheadings. Bullets and numbering become Markdown lists, bold and italic become ** and *, ruled and borderless tables become GFM tables, and hyperlinks on the page become [text](url). Headers and footers that repeat at the top or bottom of most pages, and page numbers such as “Page 3 of 10”, can be removed automatically, and you can add a rule or a <!-- page N --> comment between pages to keep track of sources. If you need images, they can be exported as files, bundled with the .md in a ZIP and referenced in the text. Afterwards you get a live rendered preview, the Markdown source, one-click copy or download, and a character and approximate token count. Everything runs in your browser; the file is never uploaded.

## How to use

1. Upload a text-based PDF (run scanned files through OCR first)
2. Choose whether to detect headings, tables, links and emphasis, remove headers and footers, export images or add page separators, and which pages to convert
3. Click Convert to Markdown, check the preview, then copy or download the .md (a ZIP when images are included)

## Features

- Paragraphs rebuilt, hyphenated line breaks joined
- # / ## / ### headings ranked by font size
- Lists, bold and italic in Markdown
- GFM tables from ruled and borderless tables
- Hyperlinks kept
- Headers, footers and page numbers removed
- Optional image export in a ZIP
- Live preview, copy, approximate token count

## FAQ

### Why is Markdown good for LLMs?

Markdown expresses headings, lists and tables with very few characters, so a model understands the document’s structure while using fewer tokens than HTML or raw PDF text. Removing headers, footers and page numbers cuts repeated noise; turn on the <!-- page N --> separator when you need to cite page numbers.

### Can it convert scanned PDFs?

A scan is just images with no extractable text, and the tool tells you when it detects one. Run it through our Scanned PDF OCR tool first to add a text layer, then convert it to Markdown.

### How well are tables and multi-column layouts handled?

Ruled tables are split along their lines and are the most accurate; borderless tables are detected by column alignment, and merged cells are split. Multi-column pages follow the PDF’s content order, which is the correct reading order for most documents, though complex layouts may need a manual touch.

### Are my files uploaded?

No. Parsing, conversion and preview all happen locally in your browser, so it is safe for internal documents and contracts.

## Related tools

- [Merge PDF](https://qilingtools.com/en/pdf/merge): Free online PDF merger: combine several PDF files into one in the order you choose, with reordering. Processed locally in your browser, no upload, no sign-up.
- [Split / Extract PDF](https://qilingtools.com/en/pdf/split): Free online PDF splitter: extract a page range into a new PDF, or split every page into its own file and download them as a ZIP. Processed locally.
- [Rotate PDF](https://qilingtools.com/en/pdf/rotate): Free online PDF rotator: rotate all or selected pages by 90°, 180° or 270° to fix scanned documents. Processed locally, no upload.
- [PDF to Image](https://qilingtools.com/en/pdf/to-image): Free online PDF to image converter: render every page as a high-resolution JPG or PNG at 72/150/300 DPI, download all as a ZIP. Processed locally, no upload.
- [Image to PDF](https://qilingtools.com/en/pdf/from-image): Free online image to PDF converter: combine JPG, PNG and WebP images into one PDF in order, with A4 or image-sized pages. Processed locally, no upload.
- [Compress PDF](https://qilingtools.com/en/pdf/compress): Free online PDF compressor: re-render pages with compressed images to shrink scanned and image-heavy PDFs, with adjustable quality. Processed locally.
- [Watermark PDF](https://qilingtools.com/en/pdf/watermark): Free online PDF watermark tool: add text watermarks to every page, tiled or centred, with opacity and angle controls. Any language, processed locally.
- [Delete PDF Pages](https://qilingtools.com/en/pdf/delete): Free online tool to delete PDF pages: remove pages by number or range and keep the rest, then download. Processed locally, no upload.
