Image to Text With Microsoft Lens: Full Guide
In this article
Microsoft Lens (formerly Office Lens) turns a photo of printed text into editable, searchable text you can copy, save, or send to Word, OneNote, or email. You do not need to type anything manually. The app is free and available for iPhone and Android. Before you start, install Microsoft Lens from the official App Store or Google Play Store and sign in with a Microsoft account (Outlook, Hotmail, or a free Microsoft account) to save files to OneDrive or send them to other apps.
What You'll Need
- A smartphone (iPhone or Android) with the Microsoft Lens app installed.
- A Microsoft account (free) to sign in and use cloud features like OneDrive or Word export.
- A clear photo of the text you want to convert – a printed document, a sign, a receipt, or a whiteboard.
- Good lighting and a steady hand (or a flat surface to place the phone on).
Step-by-Step
- Open Microsoft Lens. Tap the app icon on your phone. The first time you open it, you may be asked to sign in with your Microsoft account. Do that so you can save and share your results.
- Choose the capture mode. At the bottom of the screen, you'll see modes like Whiteboard, Document, Business Card, and Photo. For most text extraction, choose Document – it's designed for printed pages and will automatically crop and enhance the image. If you're capturing a whiteboard or a sign, choose Whiteboard instead. The labels may differ slightly by version, but they are usually visible right on the shutter screen.
- Position the text in the frame. Hold your phone parallel to the document, about 20–30 cm away. Make sure the entire text area is visible and not cut off at the edges. The app will try to detect the edges and show a yellow border. If it does, you can drag the corners to adjust the border so it exactly covers the text block.
- Take the photo. Tap the shutter button (the large circle at the bottom). The app will automatically process the image – it straightens the perspective, removes shadows, and enhances contrast.
- Adjust the crop if needed. After the photo is taken, you'll see a preview with the detected borders. Drag the corners or edges to include only the text you want to convert. Tap Confirm (or the checkmark) when done.
- Apply filters (optional). On the next screen, you may see filter options like Original, Color, Grayscale, or Black & White. These affect the image quality but not the text extraction. Choose Original or Color for best results, then tap Done or the checkmark.
- Extract the text. After confirming, you'll see a screen with action buttons. Look for Extract Text (or a button with a 'T' icon). Tap it. The app will run optical character recognition (OCR) on the image and show the recognized text on the next screen.
- Review and edit the extracted text. The text may have a few errors, especially if the original was blurry or had unusual fonts. Tap on the text to edit it, fix any mistakes, and remove extra spaces or line breaks.
- Copy or share the text. Once you're happy with the text, you have several options:
- Copy: Tap the copy icon (two overlapping squares) to copy the text to your clipboard. You can then paste it into any app.
- Share: Tap the share icon (the square with an arrow up) to send the text via email, messaging, or save it to another app.
- Save to Word or OneNote: Tap the Word or OneNote icon to send the text directly to a new document or note. This is useful if you want to edit it further or keep it in the cloud.
- Save the image (optional). If you also want to keep the original photo, tap the save icon (downward arrow) to save it to your phone's gallery or OneDrive. The app will ask where to save it – choose This device or OneDrive.
Common Mistakes
- Not choosing the right mode. Using Photo mode for a document can result in poor text extraction because the app doesn't apply the same perspective correction. Always use Document for printed pages.
- Holding the phone at an angle. If the camera is tilted, the text will be distorted and OCR will fail. Keep the phone parallel to the page.
- Poor lighting. Shadows or glare on the paper can make characters unreadable. Use a lamp or move to a well-lit area.
- Including too much background. If you capture a large area around the text, the app may try to extract text from other objects. Crop tightly around the text block.
- Skipping the editing step. OCR is not perfect. Always review the extracted text before copying or sharing it, especially if it's a formal document.
Tips
- For multi-page documents, you can take multiple photos and then combine them into a single PDF or Word document. After the first photo, tap the + icon to add more pages before saving.
- If the text is very small, zoom in with the camera instead of moving closer – this keeps the focus sharp.
- Use the Whiteboard mode for handwritten notes on a board – it enhances the contrast and removes glare.
- If you have a lot of text, saving directly to Word is better than copying to the clipboard, because Word preserves formatting like line breaks and bold text.
- You can also use the app to scan QR codes or barcodes – just point the camera at them and the app will recognize them automatically.
Troubleshooting
If the text extraction doesn't work well, try these in order:
- Check the image quality. Take a new photo with better lighting and hold the phone steadier. Blurry or dark images are the main cause of OCR failure.
- Make sure the text is in focus. Tap on the screen where the text is to force focus before taking the photo.
- Update the app. Go to the App Store or Google Play Store and check if there's an update for Microsoft Lens. Older versions may have bugs.
- Sign out and sign back in. Sometimes the OCR service needs a fresh connection. Go to the app's settings (tap your profile icon) and sign out, then sign in again.
- Restart your phone. This clears temporary glitches.
- Reinstall the app. If nothing else works, uninstall and reinstall Microsoft Lens. You won't lose your saved files if they are on OneDrive, but any locally saved scans on the phone may be lost – so back them up first.
If the text is still not extracted, the original may be too low-resolution or have a font that OCR can't read (like decorative scripts). In that case, try using a different scanning app like Google Keep or Adobe Scan, which use different OCR engines.
Frequently Asked Questions
Is Microsoft Lens free?
Yes, the app is free to download and use. You only need a Microsoft account to sign in, but that is also free.
Can I extract text from a photo already in my gallery?
Yes. Open Microsoft Lens, tap the Gallery icon (usually at the bottom right or top), select a photo from your camera roll, and then follow the same steps – choose Extract Text after the image loads.
Does it work with handwritten text?
It works with clear, legible handwriting, but accuracy is lower than with printed text. The Whiteboard mode is best for handwriting. For messy handwriting, you'll likely need to edit the result manually.
Can I extract text from a screenshot?
Yes, if the screenshot is saved in your gallery, you can import it using the Gallery icon and then extract text. The same quality rules apply – the text must be sharp and not too small.
Where does the extracted text go?
You can copy it to the clipboard, share it to any app, or save it directly to Word or OneNote. The app does not save the text automatically – you have to choose one of these actions.
Does the app work offline?
Yes, the basic capture and OCR work offline on your device. However, signing in and saving to OneDrive or Word requires an internet connection.