Image to Text API

POST

Read the text out of any image file or URL.

Image to Text extracts text from image files or remote image URLs using optical character recognition. Upload a JPG, PNG, or GIF up to 5 MB to receive the raw extracted text.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/imagetotext
image
Click or drag a file to upload.jpg, .jpeg, .png, .gif · max 400KB for live testing
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "text": "Ayear after that (in 2021) I hired somebody tpHfelp me write blog posts for\nmy personal website.\n\nThe point is, | like reinvesting the money | make\nback into my business.",
    "words": 28,
    "characters": 170,
    "lines": 5
  }
}

Start from a template — a working app you can deploy in a minute

About the Image to Text API

Image to Text works by using Optical Character Recognition (OCR) to extract text from images. It supports various image formats and provides the extracted text in a structured format.

What people use it for

Expense Receipt Scanning
Accounting software converts uploaded photos of paper receipts into plain text to identify merchant names and purchase totals.
ID Card Digitization
When onboarding new bank customers, verify identity documents by pulling printed names and identification numbers straight from submitted photo files.
Searchable Media Archives
To index visual media, digital asset libraries scan promotional graphics by image URL to make embedded headlines and labels searchable.
Assistive Screen Reading
Transcribe text trapped inside web graphics and infographics before generating spoken audio descriptions for visually impaired readers.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Questions.

Common questions about the Image to Text API.

Read the docs →
Which plan fits 10,000 image extractions a month?
The Starter plan easily covers that volume. Each image extraction consumes 10 credits, meaning Starter provides up to 20,000 extractions each month. That works out to about $1.50 per 1,000 images, while the Free plan gives you 20 calls per month to test.
Are word, character and line counts included on the Free plan?
No. The Free plan returns the extracted text only. Word, character and line counts are premium fields included on any paid plan, starting with Starter.
What image formats and file sizes can I process?
The API supports JPG, JPEG, PNG, and GIF formats. Uploaded image files must be 5 MB or smaller.
Can I process an image via URL instead of uploading a file?
Yes, you can pass a direct image URL to the URL extraction endpoint. It supports the same image formats and returns the exact same text as direct file uploads, with OCR metadata on paid plans.
What happens if an image exceeds 5 MB or uses an unlisted format?
Requests with files exceeding the 5 MB limit or formats outside of JPG, PNG, and GIF will not be processed. You must resize or convert files before submitting them to the upload endpoint.

Ready to build with Image to Text? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs