Read image file bytes locally in the browser and convert them into raw Base64 text or a full data URL.
The image bytes were converted into Base64 text locally in your browser.
Choose Raw Base64 for the encoded image content alone, or Data URL to include its image type and prefix.
This is an encoding step, not a visual transform, so the original image bytes are preserved in the encoded output.
No. Base64 encoding preserves the original bytes. MIME type metadata is included only when you keep the full data URL form.
No. Switching modes clears the selected image and output. Choose the mode first, then select your file.
Yes. Any regular image format the browser can read as a file should work.
Yes. Large image files produce long text strings that can be harder to copy and display.
Base64 text is larger than the original image file; encoding does not compress the image.
Check whether the destination expects raw Base64 or a full data URL before pasting the output.
The MIME Type field identifies the image format, such as image/png or image/jpeg.
Related Tools
Build and preview Valorant crosshair settings.
Search common Vim commands.
Turn JSON rows into bar, line, or pie charts.
Convert WebP files and Base64 data in both directions.
Convert GIF files into Base64 text or data URLs.
Convert the first GIF frame into a JPG image.