Image to Base64
Encode an image as a Base64 data URI for inline embedding.
Runs locally · Nothing uploaded
Runs locally · Nothing uploaded
Advertisement
About Image to Base64
Converts an image file into a Base64 data URI you can embed directly in CSS, HTML, or JSON — no separate file or request needed. The output includes the correct MIME prefix, and the encoded size is shown up front, since Base64 inflates files by about a third. Encoding happens locally.
Related tools
Files & MediaRuns locally in your browser.Base64 to ImageDecode a Base64 string or data URI back into a viewable image.Files & MediaRuns locally in your browser.SVG to Data URIConvert SVG markup into a CSS-ready data URI.EncodingRuns locally in your browser.Base64 EncoderEncode text to Base64, with full UTF-8 support.