hjLabs AI Playground

Starting the on-device runtime…

Extract text from images without uploading them

The page opens on TrOCR Small (printed), a 65 MB transformer that reads one cropped line of printed text at a time — crop to the line you want. For handwriting pick a TrOCR handwritten model, and for a whole page of a document or paper pick Nougat; all of them are in the model chooser. Because it runs on your GPU there is no page quota and no upload, which matters when the documents are invoices, IDs, medical records or anything else you cannot hand to a free online converter.

Frequently asked questions

Which languages are supported?

It depends on the model you pick; the default, TrOCR printed, was trained on English print. Check the model card linked on the page for the exact coverage before relying on it for another script.

Does it preserve layout?

Reading order is usually preserved for simple documents. Multi-column layouts and complex tables are where any OCR pipeline, including this one, needs a human check.

Is my data uploaded to a server?

No. The model weights are downloaded from Hugging Face to your browser once, and every inference after that runs on your own GPU through WebGPU. Your text, images and audio are never sent anywhere — hjLabs.in has no inference server and no way to see your input.

Does this work on a phone?

Small models do. Recent mobile Chrome and Safari expose WebGPU, but memory is the binding limit — stay under roughly 200 MB of weights on Android, and expect iOS to reclaim the tab sooner. The catalog shows every download size up front so you can pick something that fits.

Can I use the output commercially?

That depends on the individual model, not on this site. Each model page links to its Hugging Face repository, where the licence is stated — most of the catalog is Apache-2.0 or MIT, a few are research-only. We add nothing on top: hjLabs.in claims no rights over anything you produce here.

Models available for this task