Convertorio icon

Convertorio

Convert images between 20+ formats, generate PDF thumbnails, and extract text with AI-powered OCR

OCR (Extract Text)

AI-generated

Summary

Extracts text from an image using AI-powered OCR and returns the result as JSON.

Inputs

  • binaryPropertyName (required) — Name of the binary property containing the file to convert
  • ocrOutputFormat — Format of the OCR output

Output shape

a JSON object containing success, jobId, extracted text, tokensUsed, and processingTime

All fields are always present; text may be empty. No binary payload is returned for OCR.

Examples

Example 1: Extract plain text from an uploaded image

binaryPropertyName=data, ocrOutputFormat=txt

Example 2: Extract structured JSON from an uploaded image

binaryPropertyName=data, ocrOutputFormat=json

Discussion