•   Current Number of Tools

      86 Tools and Counting

  •   Total number of Uses

        199774 and Counting

  •   Total number of Processes

                21796 and Counting

You may use this tool [File Encoder] up to 10 times for free!
Help & Information

Converting an image to a base64 text string means it has no path. You don't have to worry about images getting lost or having the correct file path!

(X)HTML Image Embedding Example

Use as an img src
<img alt="Embedded Image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAAI0lEQVQI12Pw7Ljy23jmOwYYBhPIgnAOjEZRAaLxq0AxA4YBXLI5VX1B/F4AAAAASUVORK5CYII=" />

CSS Image Embedding Example

Use as background-image url
div.image {
  width:100px;
  height:100px;
  background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAAI0lEQVQI12Pw7Ljy23jmOwYYBhPIgnAOjEZRAaLxq0AxA4YBXLI5VX1B/F4AAAAASUVORK5CYII=);
}
              

XML Image Embedding Example

<image>
  <title>An Image</title>
  <link>http://www.your.domain</link> <url>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAAI0lEQVQI12Pw7Ljy23jmOwYYBhPIgnAOjEZRAaLxq0AxA4YBXLI5VX1B/F4AAAAASUVORK5CYII=</url>
</image>

(X)HTML CSS Embedding Example

Embed entire CSS file
<link rel="stylesheet" type="text/css" href="data:text/css;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAAI0lEQVQI12Pw7Ljy23jmOwYYBhPIgnAOjEZRAaLxq0AxA4YBXLI5VX1B/F4AAAAASUVORK5CYII=" />
              

(X)HTML Javascript Embedding Example

Embed entire JS file
<script type="text/javascript" src="data:text/javascript;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAAI0lEQVQI12Pw7Ljy23jmOwYYBhPIgnAOjEZRAaLxq0AxA4YBXLI5VX1B/F4AAAAASUVORK5CYII="></script>
 

File Encoder Facts

1.8 k

Hits

20

Processes

0

Average
Another Fantastic Services
Easy to Use
Built with Passion
Solid Clean Code
Ready for More