Skip to content

OCR.space text from an image or PDF

Extract text from a public image or PDF URL (JPG, PNG, GIF, BMP, TIFF, PDF) with OCR.space. Needs url.

Inputs

1 required
URL
Public URL of the image or PDF, e.g. 'https://dl.a9t9.com/ocr/solarcell.jpg'Required · url
Language
Leave 'auto'; three-letter codes are deprecated fallbacks, e.g. 'fre'Optional · language
Engine
OCR engine: 2 fast all-round, 3 most accurate but slower, e.g. 3Optional · engine
Table
Table mode: return text line by line, for receipts and tables, e.g. trueOptional · table
Scale
Upscale low-resolution images before OCR, e.g. trueOptional · scale
Detect orientation
Auto-rotate the image when needed, e.g. trueOptional · detect_orientation
Filetype
File type when the URL has no extension, e.g. 'PDF' (PDF, GIF, PNG, JPG, TIF or BMP)Optional · filetype

Pricing

Price
Free, no charge per call
Billing
No charge per call. A workspace is still needed so your agent can call it.
License
OCR.space free OCR API (free plan may be used in commercial projects, no uptime guarantee)

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Document & PDF parsing

Playbooks that use it

Connect your agent to 3,250+ tools for free

Sign in with Google or GitHub. No card required.