Base64 Image Encoder & Decoder

Convert an image to a Base64 string, or paste a Base64 string to preview it as an image.

Result

About this tool

Base64-encoded images are useful for embedding small graphics directly into HTML, CSS, or JSON without a separate file request. Upload an image to instantly get its Base64 data URI, or paste an existing Base64 string to decode and preview it as an image — both directions work in the same tool.

Common uses

Embedding a small icon or logo directly into a stylesheet or email template, or previewing a Base64 image string found in an API response or config file before using it.