Skip to main content

Image to Base64

Convert images to Base64 data URLs and back.

100% client-side · no data leaves your browser

Image to Base64 Data URL

Base64 Data URL to Image Preview

About this tool

Upload an image file and get its Base64 data URL for embedding in HTML or CSS. Also supports converting a Base64 string back to a preview image.