PDF to Markdown
Markdown is the easiest format to drop into a notes app, a docs site or a chat with an AI model. This converter reads the text layer of your PDF, guesses heading levels from font size, keeps bold, italic and links, and rebuilds tables. Before you copy or save anything, you can switch between a rendered preview and the raw source, and see a rough token count for AI use.
Runs on your device; the file never leaves it.
Step by step
- 1Drop in a PDF that has selectable text, not a scan.
- 2Tick what to carry over: headings, bold and italic, links. To cut repeated page furniture, keep “Strip the header, footer and page number lines” ticked.
- 3Choose a table mode, whether to save images as files, and what to put between pages (nothing, a rule or an HTML comment).
- 4Press “Convert to Markdown”, flip between Preview and Markdown source, then copy or download.
Common questions
›How does it decide what is a heading?
It looks at the font sizes used across the document. Text set noticeably larger than the body becomes #, ## or ###, with the largest size getting the top level. Untick “Turn larger text into # / ## / ### headings” if you want every line as plain text.
›Which table mode should I pick?
“With or without lines (recommended)” catches both boxed tables and ones laid out with spacing only. If it starts treating normal columns of text as tables, switch to “Only tables with lines”, or choose “Ignore tables”.
›What happens to pictures?
By default they are left out and you get a single .md file. Pick “Save images as files (ZIP with .md and images/)” and the download becomes a ZIP whose Markdown links point into the images folder. “Just the .md file” still lets you grab the text by itself.
›My scanned PDF gives an empty result. Why?
A scan is a stack of photos with no text inside. You’ll see a warning as soon as one is detected. Run it through PDF OCR first, then convert the OCR output here.
›Does my PDF leave my computer?
No. HexFlow does the work on your own computer, inside this browser tab, so the PDF is never uploaded anywhere.