Image to HTML Converter

Embed an image as a Base64 img tag, read English text with OCR, or build a color grid. Copy or download the HTML. Your images are processed in your browser and are not uploaded to this site.

YOUR WORKSPACE

Image in. HTML out.

An image in your code. Or the words inside it.

Add an image

Drop, paste or choose one image.

JPG · PNG · WebP · GIF · BMP · AVIF · HEIC · 10 MB

Add an image to begin. Nothing is downloaded until you choose text reading.

HTML SETTINGS
Description & class

Alt text is read aloud by screen readers and shown if the image fails. The class lets your site's CSS style the result.

File name
Saved results

Nothing is saved unless you press Save this result. Up to 6 results, 500 KB each and 2 MB together, are kept in this browser, where other scripts on this site could read them.

Saved in this browser until you clear it.