πŸ”’ Files never leave your device

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.

Ⓜ️
Drop a PDF here
or click to browse your files
.md outputΒ·No uploadΒ·No signup

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:

  1. Open debugspot.com/pdf-to-markdown
  2. Drop your PDF onto the box
  3. Check the preview (switch to the Markdown tab to edit)
  4. Optional: pick pages or untick header/footer removal
  5. 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.

1

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.

2

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.

3

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.

4

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

βœ“Convert PDF to Markdown in seconds
βœ“Headings worked out from font sizes
βœ“Bullet and numbered lists
βœ“Bold and italic kept
βœ“Clickable links become Markdown links
βœ“GitHub-flavoured Markdown tables
βœ“Repeated headers and footers removed
βœ“Two-column pages read in the right order
βœ“Live preview, editable Markdown and token estimate
βœ“Copy to clipboard or download .md
βœ“Runs entirely in your browser — the PDF is never uploaded
βœ“Free with no signup and no page limit

More Free PDF Tools

🧩
Merge PDF
Combine several PDFs into one file, in...
βœ‚οΈ
Split PDF
Separate pages or page ranges into ind...
πŸ—‘οΈ
Remove Pages
Delete the pages you don't need and ke...
πŸ“‘
Extract Pages
Pick the pages you need and save them...
πŸ—‚οΈ
Organize PDF
Reorder, rotate, delete and add pages...
πŸ“²
Scan to PDF
Photograph documents with your phone a...
πŸ—œοΈ
Compress PDF
Make PDF files smaller while keeping t...
πŸ› οΈ
Repair PDF
Fix damaged or corrupt PDFs that won't...
πŸ”
OCR PDF
Make scanned PDFs searchable, in 23 la...
πŸ–ΌοΈ
JPG to PDF
Turn JPG, PNG and other images into a...
πŸ“
Word to PDF
Convert Word .docx documents to PDF.
πŸ“—
Excel to PDF
Turn Excel and CSV sheets into neat PD...
🎞️
PowerPoint to PDF
Convert PowerPoint slides to PDF with...
🌐
HTML to PDF
Turn web pages and HTML code into PDFs...
πŸ“·
PDF to JPG
Save every PDF page as a JPG image.
🎨
PDF to PNG
Export pages as lossless, sharp PNG im...
πŸ“„
PDF to Word
Convert text-based PDFs into editable...
πŸ“Š
PDF to Excel
Pull tables out of PDFs into Excel she...
πŸ“½οΈ
PDF to PowerPoint
Turn PDF pages into PowerPoint slides...
πŸ”€
PDF to Text
Extract all the text from a PDF to cop...
πŸ—„οΈ
PDF to PDF/A
Convert PDFs to PDF/A for long-term ar...
✏️
Edit PDF
Add text, shapes and images to your PD...
πŸ“‹
Fill PDF Form
Fill in PDF forms, tick boxes or type...
πŸ”„
Rotate PDF
Rotate pages the way you need them, on...
πŸ”’
Add Page Numbers
Number your pages with the position an...
πŸ’§
Add Watermark
Stamp text or an image over your PDF p...
πŸ“
Crop PDF
Trim margins or select the area of the...
πŸ”’
Protect PDF
Add a password so only the right peopl...
πŸ”“
Unlock PDF
Remove a password you know from your o...
✍️
Sign PDF
Draw, type or upload your signature an...
⬛
Redact PDF
Permanently black out text, numbers an...
πŸ†š
Compare PDF
See every word added or removed betwee...

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.