Embed an Image in HTML
Inline a logo or icon directly in self-contained HTML.
Gollwng ffeiliau yma, neu cliciwch i bori
PNG, JPG, WebP, GIF, SVG, AVIF, X, Image dim cyfyngiad maint ffeil
Nid yw eich ffeiliau byth yn gadael eich dyfais. Mae'r holl brosesu yn digwydd yn lleol yn eich porwr.
Convert an image to a Base64 data URI you can paste directly into CSS, HTML, or Markdown β no separate file needed. Encoded in your browser; never uploaded.
HTML tips
A data URI makes HTML self-contained β useful for single-file pages and some email templates.
Note: many email clients block or strip base64 images, so test before relying on it for email.
The HTML snippet gives you a complete <img src="data:..."> tag.
Runs locally in your browser.
Sut Mae'n Gweithio
Pam defnyddio ein un ni?
Also check outβ¦
Inline an Image in CSS
Embed a small icon or background as a data URI in
Convert an SVG or Icon to Base64
Turn a small icon into a data URI for inlining.
Embed an Image in Markdown
Inline a small image in a Markdown file with a dat
Get an Image Data URI
Produce a raw data: URI you can use anywhere.
