Data URI Encoder

Data URIs are handy for reducing the number of requests you have to make when loading a web page and they can be used pretty much anywhere you would link to an image. The form below will convert your PNG, JPEG or GIF file to a base64-encoded string you can drop in to an HTML <img src> or CSS background-image: url();

Select an image (PNG, JPEG or GIF, max 5MB)