Scan and clean a document
Turn a photo of a page into a clean scan and pull out its text. The image is processed in this browser tab and is not uploaded.
How it works
A phone photo of a page is rarely a clean “scan”: it is greyish, unevenly lit, and not selectable text. This tool fixes both. A cleanup pass converts the photo to a crisp result (greyscale, higher contrast, or true black-and-white) and optical character recognition (OCR) reads the text off the page.
The cleanup runs instantly on your device. The first time you extract text, an English recognition pack downloads (a few megabytes) and is cached; after that OCR works offline too. The image and the recognised text stay in your browser. Nothing is uploaded.
The extracted text is editable, so you can fix the odd character before downloading it.
How to use it
- 1 Choose a photo of the page.
- 2 Pick a cleanup, Black & white works best for text.
- 3 Download the clean image, or press Extract text to run OCR.
- 4 Edit the recognised text if needed, then download it as a .txt file.
Good to know
- The first text extraction downloads an English pack; after that OCR works offline.
- A flat, well-lit, in-focus photo, cropped to the page, gives the best results.
- Black & white cleanup usually gives the recogniser the cleanest input.
- The image and text stay in your browser; nothing is uploaded.
Frequently asked questions
How do I turn a photo of a document into editable text?
Choose the document photo, pick a cleanup (Black & white works best for text), and press Extract text.
Does the OCR work offline?
After the first run downloads the English language pack, yes. Recognition then runs locally without a connection.
Is my document uploaded to a server?
No. Cleanup and text recognition both happen inside your browser tab.
What makes OCR more accurate?
A flat, well-lit, in-focus photo, cropped to the page. The Black & white cleanup usually gives the recogniser the cleanest input.
Can I edit the extracted text?
Yes. The text appears in an editable box so you can correct it, then download it as a .txt file.
Related tools
Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.