Turn an image into a Base64 data URL, with ready-to-paste HTML and CSS. Useful for small icons, emails, and single-file pages. Your image is read in your browser and never uploaded.
For small images, such as icons and simple logos under a few kilobytes, where saving a separate download helps. Data URLs are also handy in HTML emails and single-file pages that must not depend on other files.
For large images. Base64 makes an image about a third larger, and browsers cannot cache it separately from the page or stylesheet, so pages load more slowly. Over about 100 KB, a normal image file is almost always better.
The data URL starts with data:image/png;base64, which tells the browser the image type, followed by the Base64 text. Use the data URL in HTML and CSS. Use the Base64 text alone when an API or tool asks for just the encoded data.
You can also come chat with us on the Stoic Dreams discord server.