Image to Text (OCR)

Extract text from an image or photo with OCR, right in your browser. Supports English, Spanish and more languages. Copy or download the result. Free and private.

./image-to-text

The image is processed with OCR inside your browser; it is never uploaded to any server.

What this tool does

Upload an image —a screenshot, a photo of a receipt, a sign, a scanned document— and the tool recognizes the text in it (OCR) so you can copy it or download it as a .txt file. You can fix the result in the same box before copying it.

All recognition happens inside your browser. The image is never uploaded to any server: no account, no daily limit, and no copy of your document anywhere else.

How to use it

  1. Drag the image in or click to choose it (JPG, PNG or WebP).
  2. Keep the PP-OCR engine or switch to Tesseract (the difference is explained below).
  3. Click Extract text. The first time, the model is downloaded and you will see the progress in megabytes.
  4. Review the text, fix it if needed, and copy or download it.

The two engines

  • PP-OCR (PaddleOCR v6, the default). The most accurate with real photos: receipts, signs, menus, text on colored backgrounds or photos of a screen. It reads Spanish, English and other Latin-alphabet languages without you picking a language. The first time it downloads about 35 MB, which your browser caches; on a fast computer it takes 5 to 20 seconds per image, and considerably longer on a phone.
  • Tesseract. Lighter (3 to 6 MB depending on the language) and much faster, around one second per image. It works very well with screenshots and clean documents but struggles with photos: in our tests it got nothing useful out of a sign on a green background or a faded thermal receipt. Here you do choose the text language.

We made PP-OCR the default after measuring both engines on 13 real, varied images: on average PP-OCR got half as many characters wrong as Tesseract, and it was not noticeably worse on any kind of image.

What to expect (and what not)

  • Printed text, yes; handwriting, barely. A handwritten whiteboard comes out with many errors with either engine.
  • Columns. If the image has two tightly packed text columns, the result may interleave lines from both. Crop each column separately if you need the exact order.
  • Inverted marks. PP-OCR does not recognize the Spanish «¡»; check exclamations before copying.
  • Resolution. The sharper and straighter the photo, the better. A blurry or heavily tilted photo loses letters.

Privacy

The image is processed with JavaScript and WebAssembly on your own device. The only things downloaded are the model files (from Hugging Face and jsDelivr), and your image never travels with those requests.

FAQ

Is it free? Yes, with no image limit and no sign-up.

Why is the first run so slow? Because the model is downloaded (about 35 MB with PP-OCR). After that it comes from your browser’s cache.

Does it work on a phone? Yes, with both engines, but PP-OCR is slower on a phone. If you are in a hurry and the image is a clean screenshot, switch to Tesseract.

Can I extract text from a PDF? Not directly: take a screenshot of the page and upload it as an image.