· How-to
How to Read Phone Numbers and Emails From an Image
Pull phone numbers and email addresses out of a photo, flyer or screenshot with free in-browser OCR, then copy them without retyping a single digit.
Turn a screenshot of code from a tutorial, video, slide or chat into text you can paste into your editor. Dark themes work. Check the symbols, fix the indentation, run it.
Supports JPG, JPEG, PNG, GIF, BMP, WebP, TIFF, HEIC, HEIF, HEICS
Auto detects the writing system and reads it. For better results, pick the language (up to 3 if the text mixes languages).
Press Ctrl+V (Cmd+V on Mac) or drop a screenshot of code here
or
Max file size: 10MB
Convert different image formats to text with our specialized OCR tools
Screenshot the code, paste it here, then clean the result up in your editor.
Last updated:
1
Zoom the code to a comfortable reading size, then take a screenshot of just the code block. A paused video frame works too.
2
Press Ctrl+V on this page or drop the file (up to 10 MB), choose English as the language, and click Extract Text.
3
Paste into your editor, run its formatter to restore indentation, and check symbols before you run the code.
What helps when the image is code rather than prose.
Light code on a dark editor background is detected and inverted before reading.
Copy a screenshot and press Ctrl+V; no need to save a file.
Code screenshots with small fonts are upscaled before reading.
Works for stack traces, terminal output, config files and error dialogs.
Your code, keys and log lines never leave your device.
Tutorial in many frames? Read up to 20 screenshots in one run with Multi Image OCR.
Pause the video and grab the code shown on screen.
Copy examples from conference slides and course decks.
Get code that someone shared as a screenshot instead of text.
Copy the exact error text and stack trace to search for a fix.
Extract listings from programming books and scanned documentation.
Copy commands and output from a screenshot of a terminal session.
Our image to text converter is designed to streamline the process of extracting text from images. However, we understand you might have a few questions. To make the most of this tool, we've compiled some frequently asked questions along with helpful explanations to guide you.
Take a screenshot of the code, open this page and press Ctrl+V or drop the file. Click Extract Text, paste the result into your editor and run its formatter.
Usually not. OCR returns the lines of code but leading spaces are often lost. Re-indent with your editor’s formatter (for example Prettier or Black) after pasting.
Some characters look almost identical in many fonts: l, 1 and I; O and 0; straight and curly quotes; backticks. Check these, especially in strings and identifiers.
Yes. Light text on a dark background is detected and inverted before reading.
Any, because the OCR reads characters, not syntax. Choose English as the OCR language for code; add a second language if comments are written in it.
Yes, from a paused frame. Pause the video where the code is fully visible, take a screenshot and paste it here. See Screenshot to Text for capture shortcuts.
No. The OCR runs in your browser, so source code, keys and logs stay on your device.
Tips, guides, and insights on OCR technology
· How-to
Pull phone numbers and email addresses out of a photo, flyer or screenshot with free in-browser OCR, then copy them without retyping a single digit.
· How-to
Copy text from any image on iPhone, Android, Windows or Mac: use the built-in tools, or a free browser OCR that works the same on every device.
· How-to
Turn a screenshot into editable text: capture it, paste it straight into a free browser OCR, and copy the result. Shortcuts for Windows, Mac and phones.