Skip to main content

OpenThai 2.0 OCR Markdown

Reads a Thai or English document page into Markdown. Every table comes back as an HTML table with its merged cells (rowspan and colspan), so the multi-level headers of Thai government forms survive, and every block on the page carries its class and its box. The output can go straight into a search index, a retrieval pipeline or a language model's prompt.

The API runs OpenThai 2.0 OCR Markdown, iApp's open model, with nothing in between: every page is read by the model itself. On 65 Thai government and university pages with tables it scores 95.2. 0.15 IC per page.

POST/v3/store/ocr/document/markdownTry it

Input

OutputPOST /v3/store/ocr/document/markdown

{
  "markdown": "๑ เอกสารแนบ
รายชื่อแบบรายงานที่กำหนดให้ผู้ประกอบธุรกิจรายงาน

<table><tr><th colspan="1" rowspan="2">แบบรายงาน</th> ...</table>",
  "pages": [
    {
      "page": 1, "width": 1696, "height": 1199,
      "markdown": "...",
      "blocks": [
        { "class": "Text", "bbox": [628, 95, 1484, 178], "text": "..." },
        { "class": "Table", "bbox": [136, 182, 1615, 1071], "text": "<table>...</table>" }
      ],
      "truncated": false
    }
  ],
  "time": 1.5,
  "version": "v1.0.0-20261112",
  "iapp": { "page": 1, "char": 2234 }
}

The Markdown and the table are shown in part; the page has 4,001 characters.

Every field, under Response

The table example is the first page of the annex to Bank of Thailand notification 60/2569, on the reports that hire-purchase and leasing businesses must send, published on 6 November 2026. Its PDF has no usable text layer: text copied out of it comes out garbled, so the page can only be read by OCR. Source: Royal Gazette (ราชกิจจานุเบกษา), via open-law-data-thailand/soc-ratchakitcha, CC BY 4.0.

Request​

Response​

Details​

© 2026 iApp Technology Co., Ltd.TermsPrivacyStatussale@iapp.co.th