OCRRouterGet API key

Convert PDF to CSV

Pull tables out of a PDF for CSV. Today you get each table as a Markdown table, or as JSON rows you can write to CSV.

Result

Your Markdown or JSON shows up here.

3 free pages a day, no sign-up.

CSV download is coming soon. For now you get each table as a Markdown table, or as JSON rows you can save as CSV.

How it works

  1. Step 1
    Upload your PDF
  2. Step 2
    We detect each table
  3. Step 3
    Copy the table, or take the JSON rows

Why use this PDF to CSV converter

Rows as arrays

The JSON output already has tables as rows of cells, which is CSV minus the commas.

Scanned PDFs work

Tables in scanned or photographed PDFs are read with OCR.

API for batches

Send many PDFs through the API and write the rows straight into your own CSV files or database.

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