encoder64 just-launced
encode another image

Donate to support free software development!

You can donate any amount you want to help support free software like Encoder64.

Event Attending Users Exporter

Website design

Website design and programming works you can find in Portfolio.

Who's online

We have 3 guests online

Create data streams for embedding images HTML, CSS and XML.



Choose an image file:



Encoded image:


(X)HTML Image Embedding Example

<img alt="Embedded Image" 
  src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..." />

CSS Image Embedding Example

div.image {
  width:100px;
  height:100px;
  background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...);
}

XML Image Embedding Example

<image>
  <title>An Image</title>
  <link>http://www.your.domain</link>

  <url>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...</url>
</image>

Embed other stuff!

Data URIs can potentially store any type of data, not just images! Try these examples on for size:

(X)HTML CSS Embedding Example

<link rel="stylesheet" type="text/css"
  href="data:text/css;base64,LyogKioqKiogVGVtcGxhdGUgKioq..." />

(X)HTML Javascript Embedding Example

<script type="text/javascript"
  src="data:text/javascript;base64,dmFyIHNjT2JqMSA9IG5ldyBzY3Jv..."></script>