Convert images to Base64 data URLs and preview Base64-encoded images.
Image to Base64: Click "Select an image file" to upload any image (PNG, JPG, GIF, WebP, etc.). The tool will convert it to a Base64 data URL and display the encoded string. You can copy the Base64 string to use in your HTML, CSS, or JavaScript.
Base64 to Image: Paste a Base64 string into the textarea (with or without the data:image prefix) and click "Convert to Image". The tool will decode and display the image preview. Right-click the preview to save the image.