Are my images uploaded to a server?
No. Encoding and decoding happen locally in your browser, and nothing is sent to a server.
Which formats are supported?
You can encode PNG, JPG, GIF, WebP, SVG, ICO and AVIF. When decoding, PNG, JPG, GIF, WebP, SVG, BMP, ICO and AVIF are recognized even if the string has no data: prefix.
Should I embed large images as Base64?
Usually not. Base64 text is about a third larger than the original file and cannot be cached separately, so it is best for small images of roughly 10 to 20 KB.
What is a data URI?
A data URI embeds the file itself in a link that starts with data:image/...;base64, so you can use an image in CSS or HTML without a separate file.