Image Tools

How to Use OCR to Extract Text from Images and Photos

Learn how to extract text from images, screenshots and receipts using OCR. Discover when to use it, common pitfalls and how to get accurate results.

2 min read·Updated 2026-09-01

OCR (Optical Character Recognition) converts the text you see in a photo or screenshot into editable, searchable text. Scanning receipts, turning a lecture slide into notes, copying a phone number from a screenshot — OCR saves time and removes manual typing. This guide explains how it works, what can go wrong, and how to get the cleanest results.

How OCR works in plain terms

Modern OCR breaks the image into characters, lines and blocks, then matches shapes against trained letter patterns. Good systems also use context to fix likely words, spot punctuation and preserve line breaks. All of this happens on your machine with the Image to Text OCR tool, so your documents stay private.

When OCR is useful

  • Receipts and invoices — extract amounts, dates and totals for records.
  • Screenshots — grab text from an app that won't let you copy it.
  • Printed forms — digitise fields into notes or spreadsheets.
  • Whiteboards and slides — capture lecture or meeting notes quickly.
  • Old documents — turn a scan into editable text before reformatting.

Getting the best accuracy

  1. Use a straight, well-lit photo. Avoid shadows, glare and extreme angles.
  2. Crop the image to just the text area first — use the Image Cropper.
  3. If the image is very large, compress or downscale to a reasonable size — the Image Compressor helps here.
  4. Pick the correct language in the tool; this makes a big difference.
  5. Clean up the extracted text by checking numbers, punctuation and line breaks.

Common pitfalls

  • Handwritten notes — cursive is still tricky for general OCR; print text is easiest.
  • Low contrast — light text on light backgrounds confuses detection.
  • Faded prints — try to enhance contrast or take a better photo.
  • Tables and columns — layout can get scrambled; review row by row.
  • Small fonts — blurry photos of small text often lose characters.

Privacy and offline use

OCR runs entirely in your browser. No files are uploaded to a server. That means you can safely process receipts, tickets or sensitive pages without sending them over the internet.

Frequently asked questions

Does OCR work on handwriting? It depends. Printed text works very well. Neat block letters sometimes work; joined-up cursive rarely gives perfect results without specialised models.

What image formats work? JPG, PNG and WebP all work fine. For very large scans, cropping and compressing first often speeds things up.

How do I fix misread characters? Look for obvious errors: '1', 'l', 'I' and 'O', '0' are common swaps. Correct them in your text editor after copying.

Tools used in this guide

Related guides