file2markdown
pdfmarkdownconverteraillmrag

PDF to Markdown Converter: How to Choose the Best Tool (2026)

September 20, 2026

Converting a PDF to Markdown gives you editable text for notes, documentation and AI workflows. Headings, lists and tables can become explicit text structure. The result depends on the source: a report with selectable text is different from a scanned invoice, and neither guarantees a perfect extraction.

This guide compares workflows and documents file2markdown's current behavior. It is not a controlled accuracy ranking of the tools below. Test representative documents before choosing an engine for a large pipeline.

Convert a PDF: use the PDF to Markdown converter. The free allowance is 5 files daily without an account or 15 with a free account, up to 25 MB. Pro adds scanned-PDF OCR, 100 MB files and batches of 10.

Convert a PDF in Three Steps

  1. Upload your file to the converter.
  2. Run the conversion and inspect the preview against the original.
  3. Copy the Markdown or download the .md file.

Changing the interface language does not translate the document. Keep the original for charts, equations and layout-dependent details that may not survive extraction.

Which Tools Should You Consider?

file2markdown: Conversion in the Browser

file2markdown accepts PDF, DOCX, XLSX, PPTX, HTML, EPUB, JPG, PNG and other supported formats. It offers a hosted workflow without installation and an MCP server for assistants and agents. Scanned-PDF OCR requires Pro and is capped at 50 pages per file. Files are processed in memory and not stored by the service; OCR uses Claude, and the optional Jev check sends text excerpts to TypeSafe. See the privacy policy.

Marker: A Model-Based Extraction Workflow

Marker is an option for document extraction with OCR. Evaluate its setup, resources and licensing against your deployment needs. We do not claim it wins every layout or accuracy comparison.

pdf-inspector: PDF Extraction for Applications

pdf-inspector offers PDF inspection and extraction with language bindings and browser WebAssembly support. file2markdown uses it for text-based PDFs. Its current project also documents optional OCR integrations; available features depend on version and configuration and are not automatically features of our web service.

PyMuPDF4LLM: A Python Option

PyMuPDF4LLM provides Markdown extraction for Python workflows. Compare reading order and table output on your files, and consult its current documentation for OCR and installation requirements.

MarkItDown: Multiple Formats from Python

Microsoft's MarkItDown supports multiple document formats. Consider it when one conversion interface across formats is useful. Check output on your own PDFs rather than assuming a universal quality ranking.

Pandoc: Useful for Other Input Formats

Pandoc accepts formats such as DOCX, HTML and EPUB. PDF is not a supported input format, so you need a PDF extractor for this task.

ToolWorkflowWhat to check
file2markdownHosted browser conversion and MCPPlan limits and OCR needs
MarkerModel-based extractionResources, setup and license
pdf-inspectorApplication integrationVersion and OCR configuration
PyMuPDF4LLMPython extractionTables and reading order
MarkItDownMultiple formats in PythonYour actual source documents
PandocOther document formatsPDF is not an input format

For each candidate, inspect headings, columns, table cells and the final page. Compare setup and compute costs alongside subscription costs. There is no single tool that is best for every document and deployment.

Free online PDF to Markdown converters: what the free tiers actually do

Most "free PDF to Markdown" search results are browser tools, so it is worth knowing what each one does with the two cases that break converters: scanned pages and large files. This is what each tool states on its own converter page, checked on 20 September 2026.

ConverterScanned PDFs (OCR)File sizeFree allowanceYour file
file2markdownPro: PDFs detected as scans are routed to AI OCR25 MB free, 100 MB Pro5 a day, 15 with a free account, unlimited on ProConverted in memory, never stored
keep.md (free tool)No: its page says it "does not run OCR over image-only pages"15 MB5 a daySaved to its library if you sign up
iLovePDFNot mentioned on its tool pageNot statedNot statedNot stated on its tool page
CloudConvertNot mentioned on its tool page ("structure preserved where possible")Not statedNot statedNot stated on its tool page

Two things follow from that table. If your PDF is a scan, a photocopy or a photographed contract, a converter without OCR returns an empty page or nothing at all, whatever it says about headings and tables. And if you convert more than a handful of files, the daily allowance and the size cap matter more than the engine. file2markdown's Pro plan exists for exactly those two cases: OCR for scanned PDFs, 100 MB files and batches of 10, with the same nothing-stored handling as the free tier.

Scanned PDFs: what happens to a page with no text layer

A digitally created PDF (exported from Word, LaTeX or Google Docs) carries a text layer, and pdf-inspector reads it directly. A scanned PDF carries only page images. Before converting, file2markdown samples the first pages for extractable text; if none is found, the file is routed to per-page AI OCR (a Pro feature, because every page is a paid vision call) and the OCR output is reconstructed as Markdown. A mixed PDF may contain scans beyond the sampled pages, so check for missing content. OCR is capped at 50 pages per file, and a page that the model cuts off is reported in the output-health check below rather than silently shortened. If you regularly convert scans, our guide to converting scanned PDFs to Markdown covers preparing the source for the best result.

Here is what that looks like in practice. The input was a page of a public sample invoice rendered to a JPEG at 80 dpi, so the converter had pixels only, no text layer. This is the real Markdown file2markdown returned on 20 September 2026, cut after the line-items table:

# Invoice

**Sliced Invoices**

## From:
DEMO - Sliced Invoices
Suite 5A-1204
123 Somewhere Street
Your City AZ 12345
admin@slicedinvoices.com

## To:
Test Business
123 Somewhere St
Melbourne, VIC 3000
test@test.com

| Invoice Number | INV-3337 |
|---|---|
| Order Number | 12345 |
| Invoice Date | January 25, 2016 |
| Due Date | January 31, 2016 |
| **Total Due** | **$93.50** |

| Hrs/Qty | Service | Rate/Price | Adjust | Sub Total |
|---|---|---|---|---|
| 1.00 | Web Design<br>*This is a sample description...* | $85.00 | 0.00% | $85.00 |

In this example, headings, the address block and both tables appeared as Markdown structure. This one result is not a general accuracy benchmark; check the original before relying on extracted amounts.

What the output-health check tells you

Since September 2026 every conversion returns a quality object next to the Markdown, on the web and over the MCP server. It is not a fidelity score against the source document (source_compared is always false); it is a set of deterministic checks on the Markdown you actually received. This is the real object returned for the "Attention Is All You Need" paper, converted from the public arXiv URL on 20 September 2026:

{
  "status": "no_issues_detected",
  "basic": { "status": "completed" },
  "ai": { "status": "not_requested" },
  "coverage": {
    "scope": "delivered_output",
    "extent": "full",
    "lines_total": 450,
    "lines_checked": 450,
    "source_compared": false
  },
  "issues": []
}

status is review when something was flagged, no_issues_detected when the checks ran clean, or not_evaluated when they could not run. Each issue carries a stable code, a line range and a fixed message: replacement characters and (cid:) markers left by broken font encodings, control characters, a line repeated 40 or more times, hard-wrapped prose, Markdown tables with a missing separator or inconsistent cell counts, and OCR pages cut off at the model's output limit. An optional AI check (quality_check: "ai", PDFs only, off by default) sends selected excerpts of the converted text, never the source file, to TypeSafe's Jev for narrow yes/no judgments. The point is that you find out about a scrambled table before it reaches your vector store, not after.

Check the Result Before Using It

Compare a page near the start, one in the middle and the last page. Watch for missing headings, repeated headers and interleaved columns. In tables, verify that each value remains under the correct header with its sign, unit and decimal separator.

Markdown makes it easier to inspect and split text, but it does not guarantee better AI answers or fewer tokens. If a question depends on a chart or diagram, supply the original to a compatible tool. Keep source identifiers with passages you send to a retrieval system.

For more detail, see preparing documents for AI, OCR to Markdown and output checks with Jev.

Frequently Asked Questions

Is there a free PDF to Markdown converter with no signup?

Yes. file2markdown converts 5 files a day without an account or 15 with a free account, up to 25 MB each. Scanned PDFs require the OCR feature on Pro.

What is the best PDF to Markdown converter?

It depends on your documents and workflow. A browser service avoids installation, while a local tool gives you control over your environment. Compare representative files before committing to a pipeline.

Can Pandoc convert PDF to Markdown?

PDF is not a supported Pandoc input format. Use a PDF extractor for this task; Pandoc can convert other formats such as DOCX and EPUB.

How do I convert a scanned PDF?

Scanned pages need OCR. file2markdown routes PDFs detected as scans to OCR on Pro, capped at 50 pages per file. Check mixed documents for pages missed by initial detection.

Can I convert PDFs from an AI assistant?

Yes. The MCP server lets compatible assistants use file2markdown. Access and OCR allowances depend on your plan. Test representative documents before automating large batches.

Are tables and graphics always preserved?

No. Complex tables and visual content need review. Keep the PDF for information that the Markdown does not represent.

Convert your PDF to Markdown.

The Markdown Memo

A fortnightly note for lawyers, researchers, accountants, and anyone else drowning in PDFs, scans, and decks. No spam.