How to use
- Upload an image file or drag it onto the drop zone to encode it.
- Copy the generated data:image Base64 string for inline use in HTML, CSS, or JSON.
- To decode, paste an existing data:image string and the original image is rendered for download.
- Use Base64 inlining for tiny assets to save an HTTP request; avoid it for large images.
Examples
- Embed a small icon directly in CSS: background: url(data:image/png;base64,iVBOR...).
- Paste a data:image/svg+xml;base64 string to preview and download the original file.