Skip to content

PDF to Markdown

Turn a PDF into clean Markdown with headings, lists and tables to paste into an AI chat; no upload.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

Convert a PDF to Markdown when you want to paste it into ChatGPT, Claude or Gemini, a wiki or your notes with its structure intact. The largest font sizes above the body text become #, ## and ### headings, lines that start with a bullet or a number become lists, the lines of a paragraph are joined into one, and rows of text spaced into columns become Markdown tables. Arabic text keeps its reading order. The result appears in a text box with its token count, ready to copy or download as .md, .txt or .html. The file is read by your browser and never uploaded, and nothing is sent to any AI service.

Why use PDF to Markdown

  • Private

    Your PDF is converted by your own browser and never sent to a server or to an AI service.

  • Structure kept

    Headings, bulleted and numbered lists, paragraphs and simple tables come out as Markdown, with the token count shown.

  • Works offline

    After you have used it once, it keeps working without an internet connection.

How it works: convert PDF to Markdown

  1. Open your PDF

    Choose or drop a PDF, or try a sample.

  2. Read the Markdown

    Click Convert to Markdown; the Markdown appears in a text box, with its token count.

  3. Copy or download

    Click Copy to paste it into an AI chat or a note, or download it as .md, .txt or .html.

What PDF to Markdown handles

  • Headings: the largest font sizes above the body text become #, ## and ###.
  • Lists: lines starting with •, -, * or 1. become bulleted or numbered list items.
  • Tables: three or more lines in a row with the same number of columns become a Markdown table.
  • Paragraphs: the lines of one paragraph are joined into one.
  • Downloads: .md, .txt or .html, with Copy for pasting.
  • Arabic: words come out in reading order.

PDF to Markdown: what it can't do

  • Scanned PDFs hold pictures of pages and have no text; run OCR PDF first.
  • Complex tables with merged cells may come out as plain lines of text.
  • Pictures are left out; only the text is converted.
  • Pages in several columns may need a check of the reading order.

PDF to Markdown: questions

Is my file uploaded?
No. Your PDF is read and converted by your own browser, on your device, and is never sent anywhere. Nothing is sent to any AI service either: you choose where to paste the result.
How are headings found?
By size: text clearly larger than the body text becomes a heading, the largest size #, the next ## and the next ###.
Are tables kept?
Simple ones are. When three or more lines in a row are spaced into the same number of columns, they become a Markdown table. Tables with merged cells may come out as plain lines.
Why does my PDF come out empty?
The PDF is probably scanned: its pages are pictures. OCR PDF adds a text layer, then you can convert it here.
What about pictures in the PDF?
They are left out of the Markdown. Extract images from PDF saves them as separate files.
Why is the text of a two-column page out of order?
Pages laid out in columns are read line by line, and some PDFs store their text in an order that mixes the columns. Check the reading order before you paste, and move the parts that are out of place.
I only need plain text. Is there a simpler tool?
Yes. PDF to text saves every line as a plain .txt file.
How do I convert a PDF to Markdown?
Turn the PDF's text into Markdown, with headings, lists and tables marked, so it keeps its structure when pasted into an AI chat, a wiki or your notes. OpenAnyDoc's PDF to Markdown does it in your browser: open the PDF, then copy the Markdown or download it as .md; nothing is uploaded or sent to an AI service.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.