Home › Image Tools › Image to Text (OCR)

Image to Text (OCR)

Turn photos, screenshots and scanned pages into editable text. Drop, paste or choose images, pick the language, and the OCR engine reads the text right in your browser, so your images never leave your device.

Last updated:

Image
Your image will appear here.
Words the engine finds are outlined in green; uncertain words in orange.
Advertisement
Advertisement

How to use the Image to Text (OCR)

  1. Add images: drop them on the box, paste a screenshot with Ctrl+V (Cmd+V on Mac), or click Choose images. You can add several at once.
  2. Pick the language of the text. For documents that mix two languages, also choose a second language.
  3. Extract the text: recognition starts automatically. The first run downloads the OCR engine and language data (a few MB), which your browser then caches.
  4. Check the result: detected words are outlined on the image and uncertain ones are marked in orange. Edit the text if needed.
  5. Copy or download the text as a .txt file. Change the language or options and press Extract text again to re-run.

How OCR turns a picture into text

OCR (optical character recognition) software looks at the pixels of an image and decides which letters they form. This tool uses Tesseract, an open-source OCR engine first developed at HP and later maintained with Google's support, compiled to WebAssembly so it runs inside your browser. Tesseract finds lines of text, splits them into words and reads each line with an LSTM neural network trained on printed text in each language. Every word gets a confidence score from 0 to 100, which this tool uses to mark uncertain words in orange.

Getting the best results

ProblemWhat to do
Small or blurry textUse a higher-resolution image; capital letters should be at least 20 to 30 pixels tall. Keep Enhance image on: it upscales small images before reading.
Photo of a pageShoot straight from above in even light, avoid shadows, and crop to the page. Tilted or curved lines lower accuracy.
Light text on a dark backgroundEnhance image converts to grayscale and stretches the contrast, which helps with faded scans and dark screenshots.
One line, a code or a signChoose Single line or Sparse text in Page layout.
Wrong or strange charactersCheck that the language matches the text. Accented letters, Cyrillic or Asian scripts need the right language data.
Text from a PDFIf the PDF has selectable text, use PDF to Text, which is faster and exact. For scanned PDFs, take screenshots of the pages and add them here.

Page layout modes

The page layout setting tells Tesseract how the text is arranged (its "page segmentation mode"). Auto works for most documents and screenshots. Single column suits narrow text such as receipts. One uniform block treats the image as a single paragraph, useful for cropped quotes. Single line is for one line of text such as a title or serial number, and Sparse text finds as much scattered text as possible in any order, which is good for labels, diagrams and signs.

Frequently asked questions

Is this OCR tool free and private?

Yes. It is free with no sign-up and no limits. The OCR engine runs inside your browser using WebAssembly, so your images are never uploaded to a server. Only the engine and language files are downloaded from a public CDN the first time.

Which image formats are supported?

Any image your browser can open: JPG, PNG, WebP, GIF, BMP and, in most browsers, AVIF. For iPhone HEIC photos, convert them to JPG first. For PDFs, use the PDF to Text tool.

How can I get better OCR results?

Use a sharp, well-lit image where the text is at least 20 pixels tall, keep the page straight, and crop away unrelated areas. Turn on Enhance image for photos and low-contrast scans, choose the correct language, and use Single line mode for one-line images such as a sign or a code.

Can it read handwriting?

Only partly. Tesseract is trained for printed text. Neat block capitals often work, but cursive handwriting is usually not recognized reliably.

Why is the first run slower?

The first time, your browser downloads the OCR engine (about 3 MB) and the language data (about 2 to 15 MB depending on the language). Both are cached, so later runs start almost instantly.

Does it keep the layout and formatting?

It keeps lines and paragraphs, but not fonts, colors or tables. Turn off Keep line breaks to join wrapped lines into flowing paragraphs, which is handy when pasting into a document.

How accurate is it?

For clean printed text in a supported language, accuracy is typically very high. The confidence score shows how sure the engine is: around 90% or more usually means very few errors, while below 70% suggests checking the text carefully or improving the image.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

PDF to Text ConverterExtract the text from any PDF page by page, then copy it or save it as a TXT file.Word CounterCount words and characters and clean up text.Image ResizerResize images to any size without losing quality.Image to PDFConvert JPG, PNG, WEBP and more into a PDF.Business Card ScannerScan a business card photo with OCR, edit the contact fields and save a vCard or CSV.Image to Word ConverterTurn JPG, PNG or screenshot text into an editable Word (.docx) document with OCR, in your browser.JPG to SVGTrace JPG photos and logos into real vector SVG files with color and detail controls.OCR PDFMake scanned PDFs searchable and copyable with OCR in 70+ languages, or export the text.Background RemoverRemove image backgrounds automatically with AI.Photo EnhancerOne-click auto enhance: fix exposure, contrast, color cast and sharpness, one photo or a batch.Remove Object from PhotoBrush over unwanted objects, people or text and fill the area with matching background.Make Image TransparentRemove a white or solid-color background and save a transparent PNG, right in your browser.Photo to CartoonTurn photos into cartoons with smooth colors and bold outlines. Free, private, no upload.PSD to PNGConvert Photoshop PSD files to PNG and export every layer as its own PNG, no Photoshop needed.Image CompressorShrink images to a target size like 100 KB.Compress Image to 20KBShrink any photo to under 20KB (or any target size).Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.HEIC to JPGConvert iPhone HEIC photos to JPG.WEBP to JPGConvert WEBP images to JPG in bulk.PNG to JPGBatch convert PNG images to JPG with a background color.JPG to PNGBatch convert JPG images to PNG.Image CropperCrop images, including circle crops for profile pictures.Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Meme GeneratorMake memes with classic templates and custom text.Collage MakerCombine photos into a grid collage.Add Watermark to PhotoAdd a text or logo watermark to one or many photos at once.Blur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.Pixelate Image & Pixel Art ConverterTurn any picture into pixel art with retro palettes and dithering.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.Certificate MakerDesign certificates from templates and export one or many as PDF.WEBP to PNGConvert WEBP images to PNG, keeping transparency.SVG to PNGConvert SVG graphics to PNG or JPEG at any scale.PNG to ICOCreate multi-size favicon .ico files from PNG.GIF MakerTurn videos and images into GIFs, trim and compress.Business Card MakerDesign business cards and download a print-ready PDF.Flyer MakerDesign printable and social media flyers from free templates.Poster MakerDesign posters in A0–A5 and US sizes and download a print-ready PDF.Compress Image to 200KBShrink any photo to under 200KB automatically, with the best quality that fits.CMYK to RGBConvert CMYK percentages to RGB and HEX color codes with sliders and a live preview.HSL to HEXConvert HSL and HSLA colors to HEX and RGB with sliders and a live preview.HEX to RGBAConvert HEX color codes to CSS rgba() with an opacity slider and one-click copy.RGBA to HEXConvert rgba() colors to 8-digit HEX, or flatten transparency onto any background.HEX to CMYKConvert HEX color codes to CMYK percentages for print, with a live preview.3D Text GeneratorRender extruded 3D text with depth, bevel, materials and rotation; export a transparent PNG.Add Date Stamp to PhotoStamp the EXIF or a custom date on photos in a retro orange camera font. Batch and ZIP download.Add Drop Shadow to ImageAdd a drop, long or reflection shadow to PNGs and photos and save a transparent PNG.Add Text to GIFPut captions on animated GIFs with outline, position and frame range, then download.Album Cover MakerDesign 3000×3000 album and podcast cover art with photo filters and type presets.Animated Text GIF MakerCreate animated text GIFs with typing, blink, bounce, rainbow or scroll effects; GIF or WebM.App Icon GeneratorMake every iOS, Android adaptive, PWA and macOS app icon size from one image, as a ZIP.Birthday Card MakerMake a printable folded birthday card from templates with photos, stickers and fonts; PDF or PNG.Blend Two ImagesOverlay two photos with opacity, 16 blend modes, fades and free positioning, then download.Blur Photo BackgroundBlur the background of any photo for a portrait-mode look. AI subject detection, no upload.BMP to JPGBatch convert BMP bitmaps to small JPG files with a quality slider and ZIP download.Book Cover MakerDesign ebook and print book covers with trim sizes, spine width from page count, PNG/PDF.Bookmark MakerDesign printable bookmarks with photos, quotes and patterns, front and back, many per sheet.Brick Mosaic GeneratorTurn a photo into a toy-brick stud mosaic with a parts list and printable build guide PDF.Brochure MakerMake tri-fold or bi-fold brochures from templates with panel guides and a two-sided print PDF.Comic Strip MakerMake comic strips with panel layouts, speech bubbles, captions and drawings; export PNG.Contact Sheet MakerLay out many photos as a printable thumbnail grid with filenames, then save it as PDF or JPG.Crop GIFCrop an animated GIF with a draggable box or aspect ratio presets, keeping every frame.Crop Image into ShapeCrop a photo into a heart, star, hexagon, circle, speech bubble or custom SVG shape as a PNG.Online Document ScannerTurn photos of paper into clean scans: auto edge detection, perspective fix, multi-page PDF.Drawing Grid MakerPut a numbered grid on a reference photo to copy it by hand. Print it or save as PNG or PDF.Envelope PrinterPrint return and recipient addresses on #10, DL, C5 or A7 envelopes, one or hundreds, as a PDF.Family Tree MakerBuild a family tree with people, dates and photos; auto-layout, save JSON, export PNG/PDF.Add Film Grain to PhotoAdd realistic analog film grain, light leaks, fade and vignette to any photo, then download.
See all 368 Image Tools →