
This tool encodes images as Base64 text so you can embed them directly in HTML, CSS, JSON, emails or Markdown, and decodes Base64 strings back into image files.
background-image rule, an HTML ![]()
tag or Markdown.data:image/...;base64, URI.Is my image uploaded? No. Everything runs in your browser and your files never leave your device.
Why is the Base64 bigger than the file? Base64 adds about 33% overhead, so it is best for small images such as icons and logos.
Is SVG preview safe? Yes. SVG is only displayed as an image, so any scripts inside it are not executed.