FormatterHQ

Image to Text (OCR)

Pull the text out of photos, screenshots and scanned PDFs. This image to text tool runs OCR in your browser, so your files are never uploaded. Edit the result, then copy or download it.

Loading tool…
Ready.

How to use the Image to Text (OCR)

  1. Drop one or more images or a scanned PDF onto the page, click to choose files, or paste a screenshot with Ctrl+V (⌘+V on a Mac). Recognition starts straight away.
  2. Tick the language of the text (English is selected; up to three at once). For a difficult image, change Layout, Clean-up or Rotate and click Recognise again.
  3. Follow the progress bar. The first run downloads the OCR engine and the language data; later runs start at once. Cancel stops a long job.
  4. Correct the text in the box if needed, then click Copy all or Download .txt — or Download searchable PDF if you ticked that option.

Image to text with OCR, right in your browser

This image to text converter reads the words in a picture and gives them back as editable text. It uses optical character recognition (OCR): the Tesseract engine, compiled to WebAssembly, runs in a background worker inside your browser. Drop a photo of a document, a screenshot, a scanned letter or a whole scanned PDF, and you get the text page by page, with a confidence score for each page.

What happens to your files

Your images and PDFs are processed on your device and never uploaded. Two things are downloaded once from a public CDN: the OCR engine (about 1.3 MB) and the data for each language you use (English is 2.8 MB; the other languages are between 0.7 and 3 MB). Your browser keeps them, so the next run starts without downloading again. The language data comes in the compact integer version of Tesseract's neural-network models: smaller and faster than the full-precision models, and slightly less accurate on very difficult scans.

Files you can use

  • Images: PNG, JPG, WebP, BMP and GIF (the first frame of an animation), plus any other format your browser can display. Transparent areas are treated as white paper.
  • Screenshots: paste them straight from the clipboard.
  • PDFs: each page is drawn at 200 or 300 DPI and recognised. Use PDF pages to pick pages such as 1-3, 7. Password-protected files ask for the password, which stays in your browser.

Many PDFs are not scans at all: they already contain real text. When at least half of the pages of a PDF have text, the tool offers to use that text instantly instead of running OCR — the same extraction as PDF to Text, without recognition errors.

Options explained

OptionWhat it does
Languages28 languages, including Hindi, Bengali, Tamil, Arabic, Chinese, Japanese and Korean. Choose up to three for mixed text; every extra language makes recognition slower.
LayoutAutomatic finds columns and paragraphs. Single block suits a cropped paragraph, Single line a caption or a code, Sparse text labels, forms and receipts where words are scattered.
Clean-upGrayscale (default), Grayscale + contrast for faded or grey scans, or Black & white, which finds the best threshold between ink and paper and turns light text on a dark background into dark text.
RotateTurns sideways or upside-down images by 90°, 180° or 270° before reading.
Enlarge small imagesImages whose long side is under 1,600 pixels are enlarged towards 2,000 pixels (at most 3×), because OCR works best when letters are about 20 to 40 pixels tall.
Straighten tilted scansTesseract measures the angle of the text lines and corrects small tilts. It does not detect pages turned on their side: use Rotate for those.

Reading the result

Each image or PDF page gets its own editable box, a word count and a mean confidence. Every word has a confidence too: Flag words below 60% counts the doubtful ones, and Show word boxes draws a box around every word on the image, with low-confidence words in red, so you know exactly what to proofread. In a test, a clean 1,100-pixel-wide image with the lines Invoice number 4821 and Total due: 129.50 EUR came back exactly, with a mean confidence above 90%.

Make a scanned PDF searchable

Tick Also make a searchable PDF and the tool builds a PDF in which every page is the image the OCR engine read, with the recognised words placed invisibly on top. You can then search, select and copy text in any PDF reader. The page images are stored losslessly, so colour scans at 300 DPI can produce large files; 200 DPI and the Black & white clean-up keep them much smaller. To turn plain photos into a PDF without OCR, use JPG to PDF.

Tips for better accuracy

  • Crop away everything that is not text with the Image Cropper; borders, photos and shadows confuse the layout analysis.
  • Photograph pages straight on, in even light, and keep the text in focus.
  • Pick the right language: English data cannot read Devanagari or Chinese characters.
  • Printed text works best. Handwriting is usually recognised poorly, and tables come out line by line rather than as a table.

Frequently asked questions

Is my image uploaded to a server?
No. Your images and PDFs are read and recognised by your own browser. Only the OCR engine and the language data are downloaded from a public CDN, once; your files are never sent anywhere.
Can it convert handwriting to text?
Only roughly. The engine is trained on printed text, so neat block capitals sometimes work, but joined-up handwriting is usually recognised poorly. Check the word boxes: low-confidence words are marked in red.
Which languages can it read?
28 languages, among them English, Spanish, French, German, Portuguese, Italian, Russian, Arabic, Hindi, Bengali, Marathi, Tamil, Telugu, Urdu, Chinese, Japanese and Korean. You can combine up to three for documents that mix languages.
How do I turn a scanned PDF into a searchable PDF?
Drop the PDF, tick Also make a searchable PDF and wait until all pages are recognised, then click Download searchable PDF. Each page keeps its image and gets an invisible text layer, so you can search and copy the text.
Why is the text wrong or empty?
Usually the image is too small, blurred, tilted or in the wrong language. Try Grayscale + contrast or Black & white, the Sparse text layout for scattered words, Rotate for sideways pages, and the correct language, then click Recognise again.

Last updated October 17, 2026

Related tools

HTML to Text Converter Extract readable plain text from HTML: keeps paragraphs, headings, lists and tables, drops tags, scripts and styles. JSON to Text Converter Convert JSON to Text online for free. Readable key: value output for reports and tickets. PDF to Text Converter Extract all the text from a PDF, page by page, as plain text you can copy or download as .txt. Choose pages; works in your browser. Text to HTML Converter Paste formatted text from Word, Google Docs or a web page, or type plain text, and get clean HTML code. Removes inline styles, classes and Word markup. XML to Text Converter Convert XML to Text online for free. Readable key: value output for reports and tickets. Base64 to Image Preview and download images from Base64 strings or data URIs. Detects PNG, JPEG, GIF, WebP, BMP, ICO and SVG. JPG to BMP Converter Convert JPG images to BMP online for free. Fast, private, in-browser conversion with preview and size comparison. JPG to PNG Converter Convert JPG images to PNG online for free. Fast, private, in-browser conversion with preview and size comparison. JPG to WEBP Converter Convert JPG images to WEBP online for free. Fast, private, in-browser conversion with preview and size comparison. Pixelate & Blur Image (Photo Censor) Hide faces, licence plates or personal data: pixelate, blur or black out selected areas of an image, locally in your browser. Placeholder Image Generator Create placeholder images of any size with custom colours and text. Download SVG, PNG, JPG or WEBP, or copy a data URI or <img> tag. PNG to BMP Converter Convert PNG images to BMP online for free. Fast, private, in-browser conversion with preview and size comparison.