DoraPDF / Blog

PDF to Markdown for ChatGPT and Other AI Tools: A Free, Private Converter

By the DoraPDF team · 4 min read · Updated 2026-11-14
PDF to Markdown for ChatGPT and Other AI Tools: A Free, Private Converter

Paste a long PDF into an AI chat and you often get a wall of text with no sense of what's a heading, what's a list and where one section ends. The model still reads it, but it has to guess the structure, and answers get vaguer as a result.

Converting PDF to Markdown first fixes most of that. Markdown is a plain-text format that marks structure with simple symbols: # for a heading, - for a bullet point. AI tools like ChatGPT and Claude read it naturally, and so do note apps such as Notion and Obsidian. DoraPDF's PDF to Markdown converter does this in your browser, free, without uploading the file.

What the converter actually does

It's worth knowing how the tool decides what's what, because that tells you which PDFs will convert well.

  1. It reads the text on each page and groups words into lines.
  2. It works out the typical text size on that page.
  3. Lines noticeably bigger than normal become headings. The larger the text, the higher the level: very large lines get #, large ones ##, slightly larger ones ###.
  4. Lines starting with a bullet character (•, ●, ▪ or -) become Markdown list items starting with -.
  5. Everything else becomes a normal paragraph, and pages are separated with a --- divider.

So a report with a clear title, section headings in bigger type and bulleted lists converts very nicely. A PDF where every line is the same size will come out as plain paragraphs, which is still clean, just flatter.

A quick before-and-after

A page that looks like this in the PDF:

Annual Safety Review (large title) Key findings (medium heading) • Fewer incidents than last year • Training completed by all staff

comes out roughly like this:

# Annual Safety Review

## Key findings

- Fewer incidents than last year

- Training completed by all staff

How to convert a PDF to Markdown

  1. Go to PDF to Markdown.
  2. Add your PDF by dropping it on the page or tapping to browse.
  3. Press Convert now and wait for the progress bar.
  4. Check the Preview box. You can Copy the Markdown straight from there, or download the .md file, which is named after your PDF.

Then paste it into your AI chat, or save the .md file into your notes folder.

Using the Markdown with AI tools

A few habits that get better answers:

Students using DoraPDF's Assignment Helper can use the same trick: convert course readings to Markdown, then use them as source material when building an outline or checking which points a reading actually covers.

When to choose Markdown, TXT or Word

You want… Use
Headings and lists kept as plain text PDF to Markdown
Just the words, nothing else PDF to TXT
An editable document with layout and tables PDF to Word
A spreadsheet from tables in the PDF PDF to Excel

Problems you might run into

The output is empty or the tool reports no text. The PDF is probably a scan, meaning each page is a photo. Make it searchable with PDF OCR first, then convert again.

Headings appear where they shouldn't. Large numbers on a cover page, pull quotes or big captions can be marked as headings because of their size. Delete the stray # symbols; it takes seconds.

Tables come out as lines of words. The converter doesn't build Markdown tables. Cell contents appear on lines in reading order. For data-heavy tables, PDF to Excel is the better tool.

Two-column papers get jumbled. The tool reads each line across the full page, so side-by-side columns can merge. Check those sections before relying on them.

Every bullet has a blank line after it. That's how the converter spaces items. Markdown renders it fine, and AI tools don't care, but you can remove the gaps in a text editor if you prefer a tighter list.

Privacy

Everything happens in your browser. The PDF isn't sent to DoraPDF's server, which matters if you're converting confidential notes, client documents or unpublished research before deciding what to share with an AI service. What you paste into a chatbot afterwards is, of course, up to you and that service's own policies.

FAQ

Is this PDF to Markdown converter free? Yes. No account, no watermark.

Can ChatGPT read the .md file directly? Most AI chat apps accept pasted Markdown, and many also let you attach .md files. Pasting the text from the Copy button works everywhere.

Will images from the PDF be included? No. The tool extracts text only. If you need the pictures too, use the PDF Image Extractor.

Does it work on a phone? Yes. It runs in mobile browsers, though very large PDFs will convert faster on a computer.

Can I turn the Markdown back into a PDF later? Yes. Edit it, then export it with Markdown to PDF.

Try the tools from this guide — free

Keep reading

Guide

How to Read Research Papers Faster: Extract Text, Highlight and Take Notes

Read research PDFs faster with a three-pass method, keyword highlighting, text extraction and Markdown notes, so citing sources later is much easier.

Guide

PDF to Markdown for Obsidian and Notion: Turn Lecture PDFs Into Editable Notes

Convert PDF to Markdown and drop it straight into your Obsidian vault or a Notion page. Free, private, with a cleanup routine that saves time.

Guide

Markdown to PDF Online: Turn a README or .md Notes into a Clean PDF (Free)

Paste or upload Markdown and export a neat A4 PDF with headings, lists, tables and links styled for reading. No VS Code, Pandoc or sign-up needed.