Image to base64, Convert Your Image to Base64

Base64 String

Click to select automatically.

Image Source

Click to select automatically.

CSS background Source

File Formats

World's simplest base64 encoder. Just paste your data in the form below, press Base64 Encode button, and you get base64 encoded data. Press button, get base64. Works with UTF8 strings

Please note that Internet Explorer 8 has a limit of 32 KB for data URI. Versions below have no support.

Image optimization

We can optimize your JPEG, PNG, SVG & WEBP images, using aconvert. This will reduce the file without any visible impact (in most cases).

Browser Support

The encoded results are compatible with all of the following browsers and versions. Please send me a note if there are issues.

  • ChromeChrome 7+
  • SafariSafari 3.1+
  • FirefoxFirefox 2+
  • OperaOpera 9+
  • EdgeEdge
  • IE 8+