Launch offer: Pro yearly at $29
Docuflat

PDF · Markdown

Convert PDF to Markdown

Drop a PDF and get a clean Markdown file back: the text of every page in reading order, under a heading for each page, in a format AI tools, wikis and note apps read easily. Scanned pages are run through OCR automatically.

● Runs in your browser. Your files are never uploaded.
  • Output: .md
  • Scans: OCR in 100+ languages
  • Free: 15 files a day
ConverterFree · no sign-up needed
OCR for scans: Automatic

Automatic reads the first pages of a scan and picks the language for you. Add a language yourself to override it.

Loading your limits…
Drop files here, or tap to choose PDF, scans, photos, Word, Excel, PowerPoint, CSV. You can also paste a screenshot.
.pdf.jpg.png.docx.pptx.xlsx.xls.csv.txt

No file to hand? (a made-up 6-page PDF).

What you get

Before contract.pdf
Page 1 of the 6-page sample contract PDF
After from Docuflat
Docuflat’s Markdown result for the sample contract, with the preview open

The text of each page, under a heading for each page. Real result for a sample file with made-up data; download the sample and try it above.

Good for

  • Reports, contracts, policies and manuals you want to paste into ChatGPT, Claude or Gemini
  • Research papers and notes for Obsidian, Notion or a Git repository
  • Mixed PDFs where some pages are typed and some are scanned
  • Long PDFs: each page is processed in turn, so 100+ page files are fine on Pro

Worth knowing

  • Multi-column layouts can come out with the columns interleaved. Check them after converting.
  • Images and charts are skipped. Their captions and surrounding text are kept.
  • Password-protected PDFs need to be unlocked first.

Why PDF text is harder to get out than it looks

A PDF does not store paragraphs. It stores instructions to draw pieces of text at exact positions on a page, often a word or a few letters at a time. A converter has to work out which pieces belong on the same line and in what order, by looking at where they sit.

Docuflat joins pieces that share a line, starts a new line when the text moves down the page, and collapses repeated spaces. That gives the right result for ordinary single-column documents: letters, reports, contracts, policies, manuals. It is less reliable for two-column journals and brochures, where a line on the left and a line on the right sit at the same height and can be joined together.

Getting a cleaner result

If the PDF was exported from Word or Excel and you still have the original, convert that instead. Headings, lists and tables survive much better from the source file than from the PDF made from it.

For a long PDF, look at the first few pages of output before you rely on the rest. Repeated headers, footers and page numbers appear on every page; one find-and-replace removes them. If a page is marked (OCR) but you expected typed text, the PDF was probably scanned or "printed to PDF" as an image.

Password-protected PDFs need to be opened and saved without the password first. Docuflat never asks for a password and never sees the file.

What Markdown gives you that plain text does not

The page headings are real Markdown headings, so a note app shows an outline and an AI tool can refer to "page 14". The file opens in any text editor, renders as formatted text on GitHub and in Obsidian, and is usually much smaller than the original PDF.

For developers: browser tool or library?

If you are building a pipeline, an open-source library you run yourself is usually the better fit. Tools such as PyMuPDF4LLM, Marker and Docling are made for batch jobs and scripts, and some of them analyse page layout with models to recover tables and reading order on complex documents. They need Python, installation and, for the model-based ones, more computing power, and your documents are processed wherever you run them.

Docuflat is for the other case: a person with a handful of documents who wants clean Markdown now, with no setup and no upload. It is not an API and does not offer batch automation. On complicated multi-column layouts or heavily formatted tables, a layout-aware library may give better structure, so test both on a sample of your own files before you choose.

How it works

  1. Drop the PDF on the box above. Every page is read in order; a typed page takes a fraction of a second.
  2. Pages with almost no selectable text are treated as scans and read with OCR, in up to three languages you choose.
  3. You get one Markdown file: the file name as the title, then a "## Page N" heading for each page, with "(OCR)" on pages that were scanned.

Questions

Does it keep the layout?

It keeps the text and line breaks in reading order, with a Markdown heading for each page and a note on pages that were read with OCR. Fonts and positioning are dropped. Tables in PDFs come out as lines of text; for exact tables, convert the original Excel or Word file instead.

What happens with scanned pages?

Any page with little or no selectable text is treated as a scan and read with OCR in the languages you pick above. English is selected by default.

Why Markdown and not plain text?

The Markdown gives each page its own heading and keeps paragraphs and line breaks, which AI tools, wikis and note apps read well. From a PDF it does not detect headings, lists or tables inside a page; for those, convert the original Word or Excel file. If you only need the words, the PDF to text page also offers a .txt download.

Related guides

Other tools