OCRRouterGet API key

Khmer OCR API

Read Khmer text with stacked subscript consonants and vowels around the base letter.

Result

Your Markdown or JSON shows up here.

What makes Khmer hard for OCR

  • Subscript consonants stacked below the line
  • No spaces between words
  • Few OCR engines support Khmer well, so test before you rely on it

Script: Khmer script.

Call it from your code

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

Best models for Khmer text

Questions

Free tools

Other languages