OCR
5 min read
Extract Text from Scanned PDFs with OCR
Convert scanned documents into searchable, editable text using OCR API. Support for 100+ languages with high accuracy.
Quick Start
curl -X POST "https://api.chargedapi.com/pdf/ocr" \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@scanned-document.pdf" \
-o searchable.pdf
Extract Text Only
curl -X POST "https://api.chargedapi.com/pdf/ocr" \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@scanned-document.pdf" \
-F "output=text"
# Response: Plain text content of the document
Features
- 100+ languages - Including Chinese, Japanese, Arabic, Hindi
- High accuracy - 95%+ accuracy on clear scans
- Layout preservation - Maintains document structure
- Searchable output - Create searchable PDFs or extract text
Frequently Asked Questions
What is OCR and how does it work?
OCR (Optical Character Recognition) converts images of text into machine-readable text. It analyzes the shapes in an image and matches them to characters.
What languages does the OCR API support?
ChargedAPI OCR supports 100+ languages including English, Spanish, French, German, Chinese, Japanese, Arabic, and more.