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.

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.

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.Text SummarizerSummarize long text into its key sentences and keywords, privately in your browser.Background RemoverRemove image backgrounds automatically with AI.Image CompressorShrink images to a target size like 100 KB.Compress Image to 20KBShrink any photo to under 20KB (or any target size).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.Invitation Card MakerCreate printable birthday, wedding and party invitations for free.Color Palette GeneratorGenerate beautiful color palettes and export them.HEX to RGBConvert HEX colors to RGB and other formats.RGB to HEXConvert RGB to HEX with sliders, live swatch and one-click copy.HEX to HSLConvert HEX colors to HSL and back with interactive sliders.RGB to CMYK ConverterConvert RGB and HEX colors to CMYK for print, and back.Color Contrast CheckerCheck WCAG contrast ratios and find accessible text colors.Pantone to HEXLook up approximate HEX, RGB and CMYK values for Pantone colors.Color Name FinderFind the closest color name for any HEX or RGB color.AVIF to JPGConvert AVIF images to widely supported JPG.PNG & JPG to WEBPConvert PNG and JPG images to smaller WEBP files.Aspect Ratio CalculatorCalculate image sizes for 16:9, 4:3 and any ratio.Thumbnail Safe ZonePreview YouTube and TikTok thumbnail safe zones.Color Blindness SimulatorSee any image as people with protanopia, deuteranopia, tritanopia or achromatopsia see itAdd Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadThumbnail MakerDesign 1280×720 YouTube thumbnails with templates, bold text and stickersImage Color PickerPick any pixel colour from an image and get HEX, RGB, HSL plus a paletteImage Border AdderAdd a border, rounded corners, matte and shadow to a photo onlineWallpaper GeneratorCreate gradient and pattern wallpapers sized for any phone, tablet or desktopColor Shades GeneratorTurn one HEX color into a 50-950 scale plus tints, shades and tones, ready to export.Round Corners ImageGive any picture rounded, circle or squircle corners and save a transparent PNG.Printable Calendar MakerMake a printable month or year calendar with holidays, then print or save PDF.YouTube Thumbnail GrabberPaste a YouTube link to get every thumbnail size, from HD 1280x720 down to 120x90.Tailwind Color GeneratorTurn one color into a full Tailwind 50–950 shade scale and export the config or CSS.Image Flipper & MirrorMirror photos horizontally or flip them vertically, one image or a whole batch.Printable Planner GeneratorDesign daily or weekly planner pages with your dates and colors, then print them as a PDF.CSS Gradient GeneratorDesign linear, radial and conic CSS gradients with draggable stops and export CSS or PNG.Grayscale Image ConverterTurn color photos into black and white with luma, luminance or average methods and sepia.Graph Paper GeneratorMake printable square, dot, isometric or hex graph paper and download it as PDF, PNG or SVG.Color MixerMix two colors in sRGB, linear, OKLab or OKLCH, or blend them with Photoshop-style modes.Photo FiltersApply 27 one-click photo filters like Vintage, Noir and Teal & Orange with an intensity slider.Lined Paper GeneratorCreate printable lined paper: wide, college or handwriting ruling, Cornell notes, PDF or PNG.Random Color GeneratorGenerate random HEX colors one at a time or in batches, with hue, saturation and lightness ranges.Photo EditorEdit photos online: brightness, contrast, saturation, crop, rotate, flip and filters with undo.Chart MakerMake bar, line, area, pie and doughnut charts from a simple table and download PNG or SVG.Color WheelFind complementary, triadic, analogous and other color harmonies on an interactive wheel.Image SharpenerSharpen soft or slightly blurry photos with a real unsharp mask and before/after view.Venn Diagram MakerMake 2- or 3-circle Venn diagrams from lists; overlaps are found for you. Export PNG or SVG.Invert Image ColorsTurn any picture into a color negative, with R/G/B channel toggles and an intensity slider.Mind Map MakerBuild mind maps fast with keyboard shortcuts and auto layout, then export PNG, SVG or JSON.Image SplitterSplit an image into a rows × columns grid of tiles and download them one by one or as a ZIP.Org Chart MakerType an indented list of names and titles and get a clean org chart to download as PNG or SVG.Image CombinerCombine images side by side, stacked or in a grid, with spacing, background color and alignment.Timeline MakerCreate horizontal or vertical timelines from dated events with colors, then save PNG or SVG.Screenshot BeautifierPut screenshots on gradient backgrounds with padding, rounded corners, shadow and a browser frame.Gantt Chart MakerPlan tasks with dates, progress and dependencies on a Gantt chart, then export PNG or CSV.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Word Cloud GeneratorTurn any text into a word cloud in shapes like a heart or star, then save it as PNG or SVG.Image Metadata ViewerSee a photo's EXIF data: camera, lens, exposure, date and GPS location, then strip it in one click.Pie Chart MakerMake pie and donut charts with labels, percentages and a legend, then download PNG or SVG.Favicon GeneratorMake a favicon.ico, PNG icons, apple-touch-icon and web manifest from an image, text or emoji.Color PickerPick any color and get HEX, RGB, HSL, HSV and CMYK codes, shades and a screen eyedropper.HTML Color CodesAll 140 HTML color names with HEX and RGB codes, plus the 216 web-safe colors. Click to copy.Passport Photo MakerMake passport and visa photos for any country and print them on a 4x6 sheet.PNG to SVG ConverterConvert PNG or JPG images to scalable SVG vectors with color and detail control.EXIF RemoverRemove EXIF, GPS location and other metadata from JPG, PNG and WEBP photos.Image DPI ChangerChange the DPI of JPG and PNG images without re-encoding, and see the print size.Online PaintDraw and paint in your browser: brushes, shapes, fill bucket, text, undo and PNG export.Signature MakerDraw or type your signature and download it as a transparent PNG or SVG.Color Palette from ImageExtract the main colors of any photo as HEX codes, CSS variables and a palette PNG.Photo to SketchTurn any photo into a pencil, charcoal or color sketch in your browser and download it.Image ConverterConvert images between JPG, PNG, WEBP, AVIF, BMP, GIF and ICO in batches, right in your browser.HEIC to PNGConvert iPhone HEIC and HEIF photos to lossless PNG in batches, with ZIP download.