Image to Base64
Encode actual user-selected file bytes to Base64 and MIME-prefixed data URL with memory guard; copy and download text.
Image to Base64 workspace
Local processing. PNG, JPEG, WebP, safe SVG and ICO; GIF animation is rejected. Up to 20 MiB per file, 16 megapixels per image, 12 files and 64 MiB total. Browser color management may convert colors to sRGB; ICC profiles are not preserved. EXIF orientation is normalized on decode.
Select local input to begin.
How to use Image to Base64
Select the required local image, adjust the labeled settings, then process it. Inspect the result and actual output dimensions before downloading. Settings changes clear previous downloads; retry by processing again.
Formats, limits and privacy
Encode actual user-selected file bytes to Base64 and MIME-prefixed data URL with memory guard; copy and download text. Files are processed in this browser. No upload or runtime CDN is used. Keep an original copy: re-encoding can change quality, color profiles and metadata. JPEG flattens transparency onto the selected background. Target sizes are best attempts, and PNG re-encoding can increase file size. Color replacement uses color distance, not subject recognition.