Image to Text Converter

Pull the text out of a photo, screenshot or scan with optical character recognition in ten languages. The converter is free and runs in your browser, so the picture is never uploaded, and you can copy the result or save it as a text file.

Image to Text ConverterPrivate · runs on your device
Results

Your processed files appear here with download buttons.

How to use the image to text converter

Optical character recognition, or OCR, turns the shapes of printed letters in a picture into editable text. Here it runs on your own device, so a private letter or a photographed receipt is not sent anywhere.

  1. Choose the Language in the image: English, Urdu, Arabic, Hindi, Spanish, French, German, Portuguese, Turkish or Russian. Pick the one language that the text is written in.
  2. Leave Keep line breaks as in the image ticked to preserve every line as it appears, or untick it to join the lines of a paragraph into flowing text.
  3. Drop one image into the drop zone, click to browse, or paste a screenshot. JPG, PNG, WebP and other formats your browser can open are accepted.
  4. Press Extract text. A progress note shows the stages, from loading the engine to reading the text.
  5. Check the text in the result box against the thumbnail of your picture, then use Copy or Download to save a .txt file.

The first run downloads the OCR engine (about 4 MB) and the data for your language (about 1 to 3 MB) from this site, which takes longer on a slow connection. The browser caches both, so later runs start faster.

What makes the reading accurate, with worked sizes

The engine is Tesseract, an open-source OCR system that began at HP and was later developed at Google. Before reading, the page redraws your picture: a small image is enlarged up to 3 times, a very large one is reduced to 3,600 pixels on the longest side, transparency is flattened onto white, and the rotation that phones record is applied. Two examples show the effect:

PictureLongest sideWhat happens
Screenshot, 800 by 600 px800Enlarged 2x to 1600 by 1200
Phone photo, 4000 by 3000 px4000Reduced to 3600 by 2700
Scan, 2480 by 3508 px (A4 at 300 dpi)3508Left as it is

Enlarging helps the engine but cannot add detail that was never captured, so size alone does not rescue a blurred picture. What matters is the height of the letters in the original: aim for text at least about 20 to 30 pixels tall. As a worked case, 10 pt text on a page scanned at 300 dpi is about 42 pixels tall, which reads well, while the same page scanned at 100 dpi gives 14 pixel letters and many mistakes. If your source is a PDF, see the next section for the right resolution.

  • Helps: sharp, well-lit, straight-on pictures, dark text on a plain light background, and one language per run.
  • Hurts: handwriting, decorative fonts, tiny or blurred text, low contrast, curved pages and text laid over a photograph.
  • Fix first: straighten a sideways picture with the rotate and flip tool, and cut away borders and photos with the image cropper.

The result line reports the words, the characters, an "engine confidence" percentage and the time taken. Confidence is the engine's own estimate, not a guarantee, so a high figure can still hide a wrong digit.

Everyday uses and honest limits

OCR is most useful for short, clean passages. Copy a paragraph from a screenshot of a page that blocks selecting text, with Keep line breaks off so the lines join into one paragraph you can paste into an email. Digitise a printed letter or a recipe card, pull a phone number or reference from a photographed sign, or lift quotations from a scanned book page. Once you have the text, the word counter can measure it and the plain text converter will strip stray formatting.

Know the limits before you rely on it:

  • Proofread everything. Check numbers, names, dates and amounts against the picture, because 1, l and I, or 0 and O, are easy to confuse.
  • Layout is lost. Fonts, tables, columns and formatting are not kept, and in multi-column pages or tables the reading order may be mixed.
  • Scripts vary. English and the other Latin-script languages read most reliably. Arabic and Hindi work on clean printed text. Urdu in the flowing Nastaliq style often reads poorly, because the model is aimed at simpler print.
  • No handwriting. Neat handwriting may give a few words, but expect poor results.
  • One image per run, and no PDFs. To read a PDF, first turn its pages into pictures with the PDF to JPG converter, choosing PNG at Print (216 dpi) so that 12 pt text is about 36 pixels tall, then extract each page in turn.

If nothing is found, the tool says so. Try a sharper picture, darker text on a plain background, and check that the language setting matches.

Quick answers

Frequently asked questions

The questions people ask most, answered in plain words.

Is my image uploaded to a server for OCR?

No. The text is read inside your browser using the Tesseract engine, so the photo never leaves your device. Only the OCR engine and the language data are downloaded from this site, and the browser keeps them afterwards, which makes later runs start faster.

How accurate is the text it extracts?

Accuracy is high on sharp, straight, printed text with dark letters on a plain light background, and falls on blurred, curved or low-contrast pictures. The confidence percentage is the engine's own estimate, so always proofread numbers, names and amounts against the original picture before you use them.

Can it read handwriting or Urdu?

It handles clean printed Urdu in simple fonts, but flowing Nastaliq print often reads poorly, and handwriting in any language gives unreliable results. Arabic and Hindi do better on clean printed text. For the most dependable output, use a sharp picture and the matching language setting.

Can I extract text from a PDF with this tool?

Not directly, because it accepts one image per run. Convert the PDF pages to pictures first with the PDF to JPG converter, using PNG at Print (216 dpi), then extract the text from each page image. Text-based PDFs can often be copied from a PDF reader instead.

What does the Keep line breaks option do?

With it ticked, every line appears as it does in the image. With it unticked, the lines inside a paragraph are joined into flowing text, and blank lines stay as paragraph breaks. Untick it when you want to copy a paragraph from a screenshot into an email or document.