OCRRouterGet API key

Convert PDF to HTML

Turn a PDF into web-ready content. Today you get Markdown, which converts to clean HTML with any Markdown tool.

Result

Your Markdown or JSON shows up here.

3 free pages a day, no sign-up.

HTML download is coming soon. For now you get Markdown, which any Markdown tool converts to HTML.

How it works

  1. Step 1
    Upload your PDF
  2. Step 2
    We read text, headings and tables
  3. Step 3
    Convert the Markdown to HTML

Why use this PDF to HTML converter

Semantic, not positioned

Many PDF to HTML tools recreate each page with absolute positions. Markdown gives you headings, paragraphs and tables that work on mobile and for search engines.

Scans work

Scanned PDFs are read with OCR, so they become web content too.

Maths stays editable

Equations come back as LaTeX, which MathJax or KaTeX render on the web.

What people use it for

Models that do this well

The free tool picks one for you. With the API you choose, and can set fallbacks so a failed page is retried on the next model.

Do it with the API

Converting more than a few files? The same conversion is one request. Pick any model, or let auto choose.

Get API key

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "file_url": "https://example.com/invoice.pdf",
    "format": "markdown"
  }'

Questions

More free tools