Image to Base64 — what it is for
Base64 turns an image file into plain text so it can be embedded directly inside HTML, CSS, JSON, an email template or a mobile app bundle — no separate file and no extra request. Choose a small image: the text is about 33% larger than the file.
How to use it
- Choose the image.
- Pick the output: a data URI for
src, a ready HTML<img>, a CSS rule or the raw Base64. - Tap Copy and paste.
Going the other way? Use Base64 to image. For text, see the Base64 encoder/decoder.