WebSocket OCR Client

Upload a file and read the OCR output cleanly

Connects to wss://olmocr.allenai.org/api/ws, sends the file as Base64, listens for page results, and displays the extracted text in a neat viewer.

Input & Connection

Drag and drop a file here

Or choose a file manually. Images are ideal. PDFs may work if the API accepts them.

File
No file selected
Status
Idle
Pages
0
Last Event
None
Connection: Disconnected
Language:
Table:
Diagram:

OCR Result

No output yet

Clean text

Rendered from natural_text
Your OCR output will appear here once the server responds.

Raw event log

Useful for debugging