Open editor
Image to Markdown

Image to Markdown with OCR

This image to Markdown tool reads the text in a screenshot, photo or scanned page with OCR and turns it into markdown you can edit.

How image to Markdown conversion works

A screenshot or a scan is just pixels: you cannot select, copy or search the words in it. OCR, short for optical character recognition, finds the letters in those pixels and turns them back into text. This tool then tidies that text into markdown, joining broken lines into paragraphs, turning bullet points into a list and making web addresses into links.

Recognition runs on your own device with Tesseract.js. The first time you use a language, its data file is downloaded once; your image is never uploaded. You can read English, Spanish, French, German, Portuguese, Italian, Urdu, Arabic or Hindi text. Pick the language before you start, or change it afterwards and the same image is read again. A thumbnail of the image and a progress bar show what is happening.

Results are best with clear, printed text at a good size, such as a screenshot of a web page or a sharp scan. Handwriting, low light and curved pages are harder, so check the result before you use it. Headings are not detected from font size, so add # marks yourself where you need them. Image to text conversion keeps the words only: pictures, colours and layout are not reproduced. For PDFs that already contain text, PDF to Markdown is faster and more accurate.

Why use this Image to Markdown tool

OCR in your browser

Text recognition runs on your device with Tesseract. The image is never uploaded.

Screenshots and scans

Works with PNG, JPG, WebP and scanned documents.

Paragraphs and lists

Line breaks are tidied into paragraphs, and bullet points into a markdown list.

Several languages

Read English, Spanish, French, German, Portuguese, Italian or Urdu text.

How to convert an image to Markdown

  1. Drop an image onto the page, paste a screenshot, or press Open image.
  2. Choose the language of the text.
  3. Wait while the text is read; progress is shown.
  4. Copy or download the markdown.

Common uses for screenshot to Markdown

Frequently asked questions

How accurate is it?

Clear, printed text at a good resolution is read very accurately. Handwriting and low-quality photos are harder.

Is the image uploaded?

No. OCR runs in your browser; only the language data is downloaded once.

Can I convert a scanned PDF?

Take a screenshot or export the page as an image, then drop it here.

How do I convert a screenshot to Markdown?

Take the screenshot, click this page and press Ctrl V. You can also drag an image onto the page or press Open image. The text is read and shown as markdown, ready to copy or download as a .md file.

Does image to Markdown work on a phone?

Yes. Open the page in your mobile browser, press Open image and pick a photo or screenshot. Reading takes a little longer on a phone, and the progress bar shows how far it has got.

Is the image to text tool free?

Yes, completely free with no sign-up and no limit on the number of images. You can open the result in the editor to format it, or export it with Markdown to Word. Each image is read separately, so convert several pages one at a time and join the markdown in the editor.

Related markdown tools

See all 41 free markdown tools →