How to Extract Text from a Screenshot (OCR)

LamShot's OCR feature reads text from your screenshots and copies it to the clipboard, so you can paste it into any document or app. No third-party tools or subscriptions needed — it runs entirely on your machine.

Quick summary

  • LamShot runs OCR analysis in the background as soon as you take a screenshot.
  • Click the OCR button in the post-capture toolbar to get the extracted text.
  • Recognized text is copied to your clipboard automatically.
  • Works on screenshots of any app, website, PDF viewer, or video frame.
  • Accuracy improves with higher-contrast and higher-resolution captures.

How OCR Works in LamShot

When you take a screenshot, LamShot begins analyzing the image for text in the background, before you even click anything. By the time you click the OCR button in the toolbar, the result is often ready instantly.\n\nThe OCR engine recognizes printed text in dozens of languages. It handles standard fonts well, including those used in browsers, operating systems, IDEs, and office software. Decorative or handwritten fonts may have lower accuracy.

Using the OCR Button

  1. Take a screenshot of the area containing text

    Use region capture to select just the area with the text you want to extract. A tighter, more focused capture gives OCR a cleaner image to work with and usually produces better results than capturing a large messy area.

  2. Click the OCR button in the toolbar

    After the capture, find the OCR button in the LamShot toolbar — it is typically labeled OCR or shown with a text/letter icon. Click it.

  3. Wait briefly for the result

    LamShot processes the image and displays the recognized text in a small result panel. If background processing had already finished, this appears almost immediately. For very large or complex screenshots, it may take a second or two.

  4. Text is copied to your clipboard

    The recognized text is automatically copied to the clipboard when the result appears. You can paste it straight into any text field, document, or editor with Ctrl+V. You can also select and copy specific parts of the text from the result panel if you only need a portion.

The LamShot OCR result panel showing extracted text ready to copy.

Tips for Better OCR Accuracy

Capture at 100% zoom. Text that is zoomed out in the browser or app will be smaller on screen and harder for OCR to read. Zoom in before capturing for best results.\n\nAvoid low-contrast combinations. Black text on white backgrounds gives the best results. Light gray text on white or dark text on dark backgrounds reduces accuracy significantly.\n\nCapture text regions only. If your screenshot includes both text and large image areas, OCR may include noise or stray characters from the non-text parts. Use a tight region selection to focus on just the text.\n\nFor images embedded in PDFs or documents: open the document at a higher zoom level (150% or 200%) before capturing. This gives LamShot more pixels to work with and improves recognition quality.

Common Use Cases

Copying error messages from dialog boxes or terminals — no more typing error codes by hand.\n\nExtracting text from images in emails or websites that do not allow text selection.\n\nCapturing text from video frames or screen recordings paused at the right moment.\n\nConverting scanned documents displayed in a PDF viewer into editable text.

Frequently asked questions

Which languages does LamShot OCR support?

LamShot's OCR engine supports a wide range of languages including English, Spanish, French, German, Chinese, Japanese, Korean, and many others. The active language can usually be set in Settings under OCR.

Does OCR work on screenshots with multiple columns of text?

Yes, but results vary. Single-column text is most accurate. Multi-column layouts (like newspapers or some PDFs) may have columns merged or interleaved. Capturing each column separately often gives cleaner output.

Is the OCR processed locally or sent to a server?

LamShot's OCR runs locally on your device. Your screenshots are not uploaded to any server for text recognition, which keeps sensitive content private.

What if the OCR result has errors?

OCR is not perfect, especially on stylized fonts, low-resolution images, or poor contrast. After pasting the result, review it and correct any errors. Recapturing at a higher zoom level often reduces mistakes.

Can I run OCR on a screenshot I took earlier?

You can open a saved image file in LamShot and trigger OCR from the editor toolbar. This lets you extract text from screenshots or images you already have on disk.

Download LamShot Free

Try everything covered in this guide.

Download LamShot Free

Windows 10 / 11 · Free