Skip to content
Marvin's Toolbox.

Search tools

Type to filter all tools

Image to Text (OCR)

Read the text out of a screenshot, photo or scan with OCR. Pick the language, watch the recognition progress, review the result with per-word confidence, and copy or download the extracted text.

Everything runs locally in your browser. Your data never leaves your device.

Drop images with text here

or click to browse, or paste a screenshot with Ctrl+V or Cmd+V

Screenshots, photos and scans all work. Several at once are fine.

Language

Pick the language the text is written in. Recognition quality depends on it.

Text output

Every recognized line stays on its own line, like in the image.

Next steps

Send this tool's output straight into another tool.

Convert text into every case at once: title case in the APA, AP, Chicago, MLA, Bluebook, AMA and NYT styles, sentence case, upper, lower, camelCase, snake_case, kebab-case and more.

Count words, characters, sentences, paragraphs, lines and more as you type, with estimated reading and speaking time.

Remove duplicate lines from a list or text, keeping the first occurrence. Optionally ignore case and whitespace, or drop blank lines too.

Replace text in two modes: plain find and replace all, or regular expressions with flag controls and capture group references like $1.

Compare two texts and see every added, removed and changed line highlighted, side by side or inline, with the changed words marked within each line. Ignore case, whitespace or blank lines, read a summary of how much changed, and export the result as a unified diff.

Paste a UUID to see what it carries: version, variant, and for time-based versions the exact timestamp, clock sequence and node. Also shows the raw bytes, the 128-bit integer and the URN form.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.

Convert numbers between binary, octal, decimal, hexadecimal and any base up to 36. Type into any field and the others update as you go. Handles huge integers without losing precision and accepts 0x, 0b and 0o prefixes.

Convert between scientific notation and full numbers as you type. Reads 1.23e5, 1.23 × 10^5 and plain numbers, shows the value written out, in normalized scientific notation and in engineering notation, and can round to any number of significant digits.

About the Image to Text (OCR) Tool

This tool reads the text out of any image with OCR, powered by the Tesseract engine compiled to WebAssembly. Drop in a screenshot, a photo of a page or a scan, pick the language the text is written in, and watch it turn into text you can select, edit, copy and download.

Every recognized word carries a confidence score. Under each result, the confidence view tints the words the engine was unsure about, so you can proofread exactly where it matters instead of re-reading everything.

What you can do

  • Extract text from a screenshot, photo or scanned page.
  • Copy text out of an image you can't select text in.
  • Recognize text in English, German and over 25 more languages.
  • Turn a scanned document into an editable .txt file.
  • Find and fix uncertain words with per-word confidence highlighting.
  • Keep the original line breaks or reflow the text into paragraphs.
  • Process several images in one go.

How to use the Image to Text (OCR)

  1. 1Drop images onto the tool, click to browse, or paste a screenshot with Ctrl+V or Cmd+V.
  2. 2Pick the language of the text. English and German are included, other languages download once on first use.
  3. 3Watch the progress bar while each image is recognized.
  4. 4Read the result, fix any words marked as uncertain in the confidence view, and edit the text in place if needed.
  5. 5Copy the text or download it as a .txt file.

Line breaks or flowing paragraphs

OCR sees a page as lines, but you often want running text. The layout toggle switches between the two: Keep line breaks reproduces the lines exactly as they appear in the image, which suits code, tables and receipts. Reflow paragraphs joins the lines of each paragraph into flowing text and rejoins words that were hyphenated across a line break, which suits book pages and articles you want to paste into a document.

What the confidence scores mean

Tesseract rates every word from 0 to 100. The tool groups those scores into three buckets: solid (85 and up), shaky (60 to 84) and uncertain (below 60). Shaky and uncertain words are tinted in the confidence view under the extracted text, and each result shows its average score, so a quick glance tells you whether the output needs proofreading. Hover any word to see its exact score. If you only want the text, the Show confidence toggle in the text output settings hides the view.

Getting good results

Recognition quality depends mostly on the input. Sharp, high-resolution images with dark text on a light background work best. Crop away busy surroundings, straighten skewed photos, and make sure the selected language matches the text, since the engine reads with one language model at a time. Decorative fonts and handwriting are hit and miss.

If a photo needs straightening or cropping first, the Image Cropper & Resizer can prepare it. The extracted text can be sent on to other text tools from the cards below the result.

Credits

Open source does the heavy lifting in this tool. Thank you to:

  • Tesseract.js

    A WebAssembly port of the Tesseract OCR engine, able to read text in over 100 languages.

Everything this site builds on is listed on the credits page.

Turn a series of images into a video. Drop in your frames, reorder them, set the frame rate and resolution, and encode the result as MP4 or WebM, ready to play anywhere.

Convert images between JPEG, PNG, WebP and AVIF. Drop in as many as you like, pick a format, and dial in the quality for the lossy ones. When you convert to JPEG, choose the colour that fills any transparency. Live previews, download one or all at once.

Extract still frames from a video. Grab every frame, every Nth one or one per second, or step through and pick single frames by hand. Choose PNG, JPEG or WebP for the output and download everything as a zip.

Convert audio files between MP3, WAV, OGG, FLAC and M4A. Drop in as many files as you like, pick the target format and bitrate, and download the results one by one or all at once.

Create barcodes in dozens of formats, from EAN-13, UPC-A and Code 128 to QR Code, Data Matrix and PDF417. Type the content, tune the size, colors and text options, and download the result as PNG or SVG.

Decode Base64 to text or encode text to Base64. Paste into the top box, read the result below, and flip the direction with one click. Handles Unicode correctly, reads URL-safe Base64, and shows binary payloads as a hex dump you can download.