PDF to Markdown β Clean .md in Seconds
Headings, lists, bold, links and tables become tidy Markdown, ready for ChatGPT, Claude, Notion, Obsidian or GitHub. Free and private, in your browser.
Opening PDFβ¦
No text found in this PDF
The pages appear to be images, so this is probably a scanned document. Make it searchable first with OCR PDF, then convert the new copy here.
How do I convert a PDF to Markdown for free?
Open PDFChai’s free PDF to Markdown tool and drop in your PDF. The text is read in your browser, larger text becomes # headings, bullets and numbers become Markdown lists, bold and italic are kept, links become [text](url), and tables become GitHub-style pipe tables. Repeated page headers and footers are removed. Check the live preview, then click Copy Markdown or Download .md. The PDF is never uploaded. Scanned PDFs need OCR PDF first.
PDFChai PDF to Markdown vs Copy-Paste and Other Converters
| Feature | PDFChai | Copy-paste / typical converters |
|---|---|---|
| Structure | Headings, lists, tables and links kept | Copy-paste loses it; converters vary |
| Headers & footers | Repeated ones removed automatically | Repeated on every page |
| Privacy | Converted in your browser — never uploaded | Often uploaded, sometimes to an AI service |
| Preview | Rendered preview plus editable Markdown | Usually download first |
| AI-ready | Token estimate shown, clean plain text | Extra noise uses more tokens |
| Cost | Free, no signup | Free tiers with limits |
Comparison reflects common approaches and free converters as of 2026 and varies by tool.
What is a PDF to Markdown converter?
Markdown is plain text with a few simple symbols for structure: # for headings, - for list items, ** for bold, [text](link) for links and pipes for tables. It is how notes are written in Notion and Obsidian, how documentation is written on GitHub, and the format AI assistants such as ChatGPT, Claude and Gemini read and write best. A PDF to Markdown converter turns a PDF into that kind of clean, structured text.
Copying text out of a PDF usually gives you a jumble: headings look like normal sentences, list bullets turn into odd symbols, tables collapse into a stream of numbers, and the same page header and page number repeat every few lines. PDFChai rebuilds the document instead. It works out the reading order (including two-column pages), finds headings from larger text, turns bullets and numbers into proper lists, keeps bold and italic, turns the PDF's clickable links into Markdown links, and rebuilds tables from the gaps between columns. Headers and footers that repeat on every page are removed.
The result appears as a rendered preview and as editable Markdown, with a character, word and approximate AI token count, so you know how much of a model's context it will use. Copy it straight into a chat, or download a .md file. Everything runs in your browser, so the document is never uploaded. Scanned PDFs need OCR PDF first, because a scan has no text to convert.
β‘ Quick Answer:
- Open debugspot.com/pdf-to-markdown
- Drop your PDF onto the box
- Check the preview (switch to the Markdown tab to edit)
- Optional: pick pages or untick header/footer removal
- Click Copy Markdown or Download .md
100% free Β· No signup Β· No watermark Β· Files stay on your device
Step-by-Step Guide
Everything you need to know β done in under a minute.
Choose your PDF
Drag a PDF onto the drop zone or click to choose it. The pages are read locally in your browser. A password-protected PDF needs Unlock PDF first.
Let it rebuild the structure
Each page is read in reading order. Headings, lists, bold and italic, links and tables are detected, and repeated headers and footers are dropped.
Review the Markdown
The Preview tab shows how the Markdown renders. The Markdown tab shows the raw text, which you can edit before copying. Limit the conversion with a page range, or add page separators.
Copy or download
Click Copy Markdown to paste it into ChatGPT, Claude, Notion or a README, or Download .md to save a file named after your PDF.
How Does It Work?
Understanding what happens behind the scenes helps you trust the tool β especially with confidential files.
π Reading order
Text fragments on the same baseline become lines, two-column pages are read column by column, and lines are grouped into paragraphs using the spacing between them.
π Headings and emphasis
The most common text size is treated as body text. Short paragraphs in clearly larger text become #, ## or ### headings. Bold and italic come from the PDF's real font names.
π Lists, links and tables
Bullets and numbers at the start of a paragraph become list items. Link annotations in the PDF wrap the text they cover. Lines with wide gaps are aligned into columns and written as a pipe table.
π§Ή Clean output
Text that repeats at the top or bottom of most pages, such as running titles and page numbers, is removed. Special characters are escaped so the Markdown renders exactly as intended.
Key Features & Advantages
Headings
Three heading levels worked out from font sizes, with the largest text as # heading.
Lists
Bullets become - items and numbered lines become 1. items, with simple nesting.
Links
Clickable links in the PDF become [text](url) links in the Markdown.
Tables
Tables with clear column gaps become GitHub-flavoured Markdown tables, numbers right-aligned.
AI-ready
Clean structure without repeated headers, plus an estimate of how many tokens it will use.
Private
The PDF never leaves your device, which matters before pasting anything into an AI tool.
Who Uses This Tool?
This is one of the most common document tasks in work, study and everyday life. Here are the people who use it every day.
π€ People using AI assistants
Give ChatGPT, Claude or Gemini a well-structured document to summarise, question or translate, without upload limits or messy text.
π§βπ» Developers
Turn PDF specs, datasheets and manuals into Markdown for READMEs, wikis, docs sites and retrieval (RAG) pipelines.
π Note-takers
Move reading material into Notion, Obsidian, Logseq or Bear with headings and lists intact.
π Students & researchers
Convert papers and lecture notes into Markdown for annotation, citation tools and study notes.
βοΈ Writers & editors
Recover the text of an article or manuscript from a PDF and edit it in any Markdown editor.
π’ Teams
Move policies, handbooks and reports into internal knowledge bases that use Markdown.
Common Use Cases
The everyday situations that bring people to this tool.
π¬ Asking AI about a document
Paste the Markdown into a chat and ask questions; the headings help the model find its way around.
π Building a knowledge base
Convert manuals and handbooks for Notion, Confluence or a docs site.
π Retrieval / RAG pipelines
Markdown splits cleanly by heading, which makes better chunks for embeddings than raw PDF text.
ποΈ Study notes
Turn a chapter into an Obsidian note with headings and lists you can expand.
π README from a PDF spec
Move a PDF datasheet or API reference into a repository as Markdown.
π Blog drafts
Turn a PDF report into a Markdown draft for a static site or CMS.
How to Use It on Any Device
Works on every platform, right in the browser. Here are instructions for the most common devices.
πͺ How to convert PDF to Markdown on Windows
Open Chrome, Edge or Firefox, go to debugspot.com/pdf-to-markdown and drop in the PDF. Paste the result into VS Code, Obsidian or a chat.
Works on: Windows 10, 11 Β· Chrome, Edge, Firefox
π How to convert PDF to Markdown on Mac
Use Safari, Chrome or Firefox; the downloaded .md opens in any editor such as Bear, iA Writer or VS Code.
Works on: macOS Β· Safari, Chrome, Firefox
π§ How to convert PDF to Markdown on Linux
Works in Firefox or Chromium with nothing to install, which suits developers who live in Markdown.
Works on: Linux Β· Firefox, Chromium
π€ How to convert PDF to Markdown on Android
Open the page in Chrome, pick the PDF, tap Copy Markdown and paste into the ChatGPT, Claude or Notion app.
Works on: Android 9+ Β· Chrome
π± How to convert PDF to Markdown on iPhone / iPad
In Safari, choose the PDF from Files, copy the Markdown, and paste it into your notes or AI app.
Works on: iOS 15+ Β· Safari, Chrome
Tips & Best Practices
β Check headings in the preview
If body text was taken for a heading (or the other way round), untick βHeadings from larger textβ or fix it in the Markdown tab.
β Keep header removal on for AI
Repeated page titles and numbers waste tokens and can confuse a model. Turn removal off only if you need them.
β Convert only the pages you need
A page range such as 3-12 keeps prompts short and focused.
β Tables need clear gaps
Columns are found from the space between them. Very tightly spaced tables may come out as plain lines; PDF to Excel is more thorough for data tables.
β Scanned PDF? OCR first
Run it through OCR PDF, then convert the searchable copy.
β Need a Word file instead?
For documents you'll edit in Word, use PDF to Word.
Full List of Benefits
More Free PDF Tools
Popular Free Tools
Related PDF Tools
Frequently Asked Questions
Is PDF to Markdown free?
Yes. It is free to use as often as you like, with no signup, no watermark and no page limit.
Is my PDF uploaded?
No. The PDF is read and converted in your browser. Nothing is sent to a server, which is worth knowing before you paste a document into an AI tool.
Why use Markdown with ChatGPT or Claude?
Markdown keeps headings, lists and tables in plain text that language models understand well, and removing repeated headers and footers saves tokens. The token count shown is an estimate (about four characters per token).
Which Markdown flavour is it?
GitHub-Flavoured Markdown (GFM): # headings, - and 1. lists, **bold**, *italic*, [links](url) and pipe tables. It works in GitHub, Notion, Obsidian, VS Code and most editors.
Are tables supported?
Yes, when the columns are separated by clear gaps. The first row becomes the table header and number columns are right-aligned. Tables without clear gaps come out as lines of text.
Are images included?
No. The Markdown contains the text of the document. To save the pages as pictures, use PDF to JPG.
Why is some text a heading when it shouldn't be?
Headings are guessed from text that is clearly larger than the body text. Untick βHeadings from larger textβ or edit the Markdown tab if the guess is wrong.
What are βrepeated headers and footersβ?
Running titles, document names and page numbers that appear at the top or bottom of most pages. They are removed when they repeat on at least half of the pages (and at least three).
Can it convert scanned PDFs?
A scan has no text layer. Use OCR PDF first, then convert the searchable copy.
Can I convert only some pages?
Yes. Type a range such as 2-5 or 1, 4, 9 in the Pages box.
Does it work with two-column papers?
Yes. Pages laid out in two columns are read one column at a time, so sentences don't get mixed across the page.