OCRRouterGet API key

Convert image to JSON

Get the text in an image as structured JSON: typed blocks with positions and confidence, ready for code.

Result

Your Markdown or JSON shows up here.

3 free pages a day, no sign-up.

How it works

  1. Step 1
    Upload the image
  2. Step 2
    We split it into typed blocks
  3. Step 3
    Copy the JSON or call the API

Why use this Image to JSON converter

Positions for every block

Bounding boxes let you draw highlights over the image or crop regions.

Typed content

You can tell a heading from a paragraph from a table without parsing Markdown.

Tables as arrays

Table blocks carry rows as arrays plus a Markdown copy.

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": "json"
  }'

Questions

More free tools