Base64 Image Tool

Convert images to CSS/HTML inline Base64 data strings or decode back to image.

How it works

Image bytes and Base64 text are converted in either direction. Encoding is not encryption.

Practical workflow

Copy a data:image string for a small inline asset, or paste an image data string to preview it.

Check the result

Base64 usually increases data size. It does not hide secrets; large images may be better served as files.

Encode images to Base64 or decode back to image.

Base64 DataURL: