How to extract text from an image
-
Add images
Drop images on the box, press Choose files, or use Take a photo on a phone. You can also paste a screenshot. -
Choose the language
Select the language of the text. The first time, its data (about 1 to 3 MB) downloads from this site. -
Keep cleanup on
Leave Clean up the image before reading switched on for photos. It evens out lighting and contrast. -
Extract
Press Extract text and watch the progress bar as each image is read. -
Check and edit
The text appears in an editable box. Fix any misread words directly. -
Copy or save
Press Copy text or Download .txt.
Copy text from images instead of retyping it
Sometimes the text you need is trapped in an image: a photo of a printed letter, a screenshot of a message, a scanned contract, a slide from a presentation, a sign photographed on a trip. Retyping it is slow and error-prone. OCR, short for optical character recognition, reads the text for you.
This tool uses Tesseract, a widely used open source OCR engine, compiled to run inside your browser. Add one or more images, choose the language, and the recognized text appears in an editable box that you can copy or save as a text file.
Features
Six languages, each with its own model
Recognition works best when the engine knows the language. Choose from:
- English
- Swahili (Swahili OCR)
- French, including accented letters (French OCR)
- Spanish, including ñ and inverted punctuation (Spanish OCR)
- Arabic, read right to left (Arabic OCR)
- Portuguese, including ã, õ and ç (Portuguese OCR)
Each language model is a separate file served from the PDF Camera website and downloaded only when you choose that language.
Automatic image cleanup
Photos of paper often have shadows and gray backgrounds that confuse OCR. With Clean up the image before reading switched on, each image is first converted to grayscale with even lighting and stronger contrast, which usually improves accuracy on photos. For clean screenshots you can switch it off.
Multiple images in one go
Add several images and they are read in order. The results are joined with a separator line for each image, so you know which text came from where.
Editable output
The recognized text appears in a text box you can edit before copying. Arabic text is shown right to left automatically. A word and character count helps you check that everything was captured.
Copy or download
Copy the text to the clipboard with one button, or download it as a UTF-8 .txt file, which keeps all accents and non-Latin letters.
Paste from the clipboard
On a computer, take a screenshot and press Ctrl+V (or Cmd+V on a Mac) on this page. The image is added to the list without saving it first.
Tips for best results
- Use sharp, well-lit images. OCR reads shapes of letters. Blur and low light are the most common causes of errors.
- Get close to small text. Characters should be at least about 20 pixels tall in the image. Crop or zoom in on the part you need.
- Keep lines straight. Strongly tilted photos reduce accuracy. Scan with the camera scanner, which straightens pages, and then run OCR.
- Choose the right language. An English model reading French text will misread accented letters.
- One column at a time works best. Complex layouts with many columns, tables or text over pictures may come out in a mixed order.
- Proofread numbers. Similar shapes like 0 and O, 1 and l, or 5 and S can be confused, especially in poor images.
Choosing the right language
| Language | Notes |
|---|---|
| English | Default; also reads numbers and basic Latin text well |
| Swahili | Latin letters without accents; better word recognition for Swahili |
| French | Accents, cedilla and ligatures such as œ |
| Spanish | ñ, accents and ¿ ¡ marks |
| Arabic | Right-to-left script with connected letters |
| Portuguese | Nasal vowels ã, õ and cedilla ç |
For documents in two languages, choose the main one, or crop the parts and read each with its own language.
Not sure which language a document is in? Run a short sample with your best guess; if many letters come out wrong or missing accents, try the next most likely language.
Common uses
- Copying text from a printed letter or report into an email or document.
- Extracting quotes from books for study notes, with the page photographed on your phone.
- Getting details from a screenshot, such as an address, a reference number or a message.
- Digitizing recipes, notes and lists so they can be searched and edited.
- Translating signs and menus: extract the text, then paste it into a translation app.
- Reusing text from slides or posters photographed at a talk or event.
- Accessibility: turning image-only text into text that screen readers can read aloud.
How it works
The OCR engine, Tesseract, is a C++ program that has been compiled to WebAssembly, a format that runs at near-native speed in all modern browsers. When you start, the page loads the engine, its WebAssembly core and the language model you selected from this site. These files are stored by your browser, so they only download once.
If cleanup is on, each image is first processed in a background worker: lighting is evened out and the image is converted to grayscale with a contrast stretch. The engine then finds blocks of text, splits them into lines and words, and uses a neural network model trained for your language to recognize each line. The result is plain text with line breaks.
Everything runs on your device, in background threads, so the page stays usable during recognition.
Privacy: your files stay on your device
Many online OCR services upload your image to a server, run the recognition there and send back the text, which means a copy of your document sits on someone else's computer. Here, nothing is uploaded. The engine and language data are downloaded to your browser, and your images are read locally. The text exists only in this page until you copy or save it. After your first visit, OCR works with no internet connection at all.
Troubleshooting
- The result is gibberish. Check the language setting, use a sharper image, and make sure the text is not upside down.
- Nothing was found. The image may be too small, too blurry, or the text too light. Try a closer photo or turn cleanup on.
- The first run fails. The engine and language data need to download once. Check your connection and try again.
- Text is in the wrong order. Multi-column layouts can confuse reading order. Crop to one column at a time.
- Accents are missing. Choose the correct language model. English does not include most accented characters.
- Copy does not work. Some browsers block clipboard access. The text is selected for you; press Ctrl+C or Cmd+C.
- It is slow on my phone. OCR is demanding. Large images take longer; crop to the text you need.
Supported devices and browsers
Works in current versions of Chrome, Edge, Firefox and Safari on computers, and in mobile browsers on iPhone, iPad and Android. It needs WebAssembly, which all modern browsers support. For scanned PDFs that should stay PDFs, use Searchable PDF.
Frequently asked questions
What is OCR?
OCR, optical character recognition, is software that finds letters in an image and turns them into editable text. It lets you copy text from a photo of a page, a screenshot or a scanned PDF page instead of typing it out.
Which languages are supported?
English, Swahili, French, Spanish, Arabic and Portuguese. Each language has its own model trained on that language's letters and words, so choose the one that matches your text.
Is my image uploaded for OCR?
No. The recognition engine runs inside your browser as WebAssembly. Images and recognized text stay on your device.
How accurate is it?
On clear printed text in good light, accuracy is usually very high, often with only occasional errors. Handwriting, unusual fonts, low resolution, blur and complex layouts reduce accuracy. Always proofread important text.
Can it read handwriting?
Neat, printed handwriting is sometimes recognized, but the engine is designed for printed text. Cursive and messy handwriting will mostly fail.
Why is the first run slower?
The OCR engine and language data are downloaded from this site the first time you use them, then stored by your browser. Later runs start much faster, and work offline.
Can I OCR a PDF?
This tool reads images. To make a scanned PDF searchable, use the searchable PDF tool, which reads each page and adds an invisible text layer.
Does it keep the layout and formatting?
It keeps line breaks and paragraph breaks, but not fonts, columns, tables or images. The output is plain text.
Can I extract text from a screenshot?
Yes, and screenshots usually give very accurate results because the text is sharp. Paste a screenshot directly with Ctrl+V or Cmd+V.
Related tools
Last updated 29 November 2026