Convert PNG to MD

Turn PNG images into Markdown. The text read by OCR as Markdown, one paragraph for each block of text the reader finds, in English unless language lists others.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNG files on the dialor turn it to pick what to do

The text in a picture, as Markdown.The words in the PNG are read and written to one MD file.

  1. What you get

    One Markdown file with the text found in the picture. The text is read with OCR, which recognizes letters in an image.

    Only the words are kept. Layout, tables and pictures are dropped, so the file holds text and nothing of how the page looked.

  2. Set the language

    Without Language, the text is read as English. Letters such as é, ß and ł then come out wrong, and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read.

    Set Language to the languages the text is in, so OCR knows which letters to expect. Separate several with commas, such as fr,en.

  3. When it fails

    A picture with no readable text has nothing to write, so the conversion stops with unsupported_elements.

    To go the other way, MD to PNG turns Markdown into a picture.

PNG and MD.What each format is, and the options this conversion takes.

  1. 01 · language

    Language

    The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images
To · MD

Markdown

Plain text with light markup for headings, lists, links and code. What agents and developers write in.

Extensions
.md .markdown .mdown
MIME type
text/markdown
Kind
Text and data

In your code.The same PNG to MD conversion through the API, for your app or your agent.

terminal
$ cv convert photo.png photo.md
$ cv convert photo.png photo.md

Questions.What people ask about PNG to MD.

01OF 04

No. Layout, tables and pictures are dropped. Only the text is kept.

The picture has no readable text. The conversion stops with this code when there is nothing for OCR to read.

Without Language, the text is read as English. Set Language to the right languages, such as fr,en, so letters such as é, ß and ł are read correctly.

Yes, when you set Language to include it. Without Language, scripts such as Cyrillic, Arabic, Thai, Korean and Chinese are not read.

More conversions.Other ways in and out of PNG and MD.