Prepare a PDF for ChatGPT or Claude as Markdown
Updated 2026-09-18
You want to ask a chat assistant about a report, a paper or a manual, and copying straight out of a PDF reader gives you broken line breaks, words split across lines, and a page header repeated every few paragraphs. PDF to Markdown reads the PDF's text layer in your browser and writes a .md file with headings, lists and tables that you can copy or download. No model reads your document here, the PDF is not uploaded, and the text only leaves your machine when you paste or send it yourself.
Open PDF to MarkdownFree, in your browser. Nothing is uploaded.Why send Markdown rather than a raw copy
A PDF records where each glyph was drawn, not what it meant, so selecting a few pages in a reader hands you the drawing order rather than the document. Wrapped lines arrive as separate lines, a word hyphenated at the end of a line arrives in two halves, and the running head and page number sit in the middle of your text every page or so.
The converter undoes most of that. Wrapped lines are joined back into paragraphs and end-of-line hyphenation is repaired. Lines set in a larger or bold font become # headings, lines starting with a bullet or a number become list items, and text in a monospace font is wrapped in a fenced code block. The headings are what make a long file usable: they let you send one section instead of the whole document.
Nothing here is done by AI
The conversion is mechanical. The tool measures font sizes and positions, treats the size carrying most of the text as body text, ranks the larger sizes as heading levels, and looks for bullet characters and columns of short, aligned text. There is no model, no interpretation and no rewriting: every word in the output is a word that was already in your PDF, and the structure around them is inferred from geometry.
The privacy line falls in the same place. Text extraction and structure inference happen inside your browser tab, so the PDF itself is not uploaded. What you paste or send afterward is a different matter: that text leaves your machine and lands with whoever runs the chat service, so check what that service says it does with what you send. If the document is confidential, convert it, cut out only the section you actually need, and send that.
Which options to set before you paste
The five checkboxes sit under What to look for. Keep Headings and Lists checked. Keep Tables checked if the document has real tables, but read them afterward: a run of three or more consecutive lines that each break into two or more short, column-aligned pieces is treated as a table, and when the typical piece runs past about forty characters the tool decides it is prose in columns and leaves them as paragraphs.
Leave Drop repeated headers and footers checked. It drops lines in the top or bottom twelfth of the page that repeat on at least sixty percent of the pages, and never on fewer than three, with digits masked so "Page 3 of 40" and "Page 4 of 40" count as the same line. A file shorter than three pages is left alone. Turn the option off only when the running head carries a chapter title you want to keep.
Mark page breaks is off by default and inserts a horizontal rule between pages. Turn it on when you want to quote a page number back later, and leave it off otherwise, since the rules add nothing to the text itself.
Long documents, and checking the result
The tool takes one PDF at a time and always converts the whole document. For a book or a long manual, send less: use the headings in the preview to find the part you need and copy only that, or split the PDF into chapters first with Split PDF.
Read the preview before you rely on it. Two-column papers are where the output is worst: lines are grouped by their position down the page across the full width, so a line in the left column and the line beside it in the right column are joined into one, and the sentences interleave. Footnotes land in the body near the bottom of a page. No option changes either one, so fix or drop those pages yourself before you send them.
If the tool stops with "No text was found", not one page in the file had any text to read, which usually means a scan. Run OCR PDF on it first: English recognition runs in your browser and lays an invisible text layer over the page images. Its words carry a size but never a bold flag, so headings that were only bold come through as ordinary paragraphs. Recognition is never perfect either, so check any figure or name that matters against the original.
Step by step
- 1Open PDF to Markdown and click Select file, or drop the PDF onto the page. It takes one file at a time.
- 2Under What to look for, leave Headings, Lists, Tables and Drop repeated headers and footers checked. Tick Mark page breaks only if you want the page divisions marked in the text.
- 3Click Convert to Markdown and watch the progress bar: it reads the pages first, then works out the structure.
- 4Read the preview labeled Markdown and spot-check a heading and a table against the PDF.
- 5If aligned text has turned into stray tables, click Start over, add the file again, uncheck Tables and convert once more.
- 6Click Copy and paste the text where you want it, or use the download button to save the .md file.
Questions
- Does FreeAIPDF use AI to convert the PDF?
- No. The structure is worked out from font sizes and positions in your browser, and the text is copied through unchanged. The tools here prepare files for whatever you do next; they do not run a language model over your document.
- Why not just attach the PDF instead?
- If the assistant you use accepts PDF attachments and handles yours well, that is simpler. Converting first helps when the file is not accepted, when you want to send one section rather than a whole book, or when you want to see exactly what you are about to send before you send it.
- Is my document private if I convert it here?
- The conversion is, since the PDF is read in your browser and never uploaded. Treat the copy step as the moment the document leaves your control, and check the terms of whatever you paste it into.
- The tables came out wrong. Can I fix them?
- Tables are approximate. They are recognized from runs of short, column-aligned lines, so merged cells, wrapped cells and text-heavy tables come out as paragraphs or with values in the wrong column. Fix any table you plan to ask questions about in the Markdown first, or retype the few numbers that matter into your message.
- What happens to bold and italic text?
- Bold and italic runs come through as Markdown emphasis, and monospace runs come through as inline code. Heading lines are the exception: they are written as plain text after the # marks, so a heading that was bold in the PDF does not also pick up asterisks.