Images & Documents tool

Base64 Image Converter

Inspect an image embedded in an API response, or turn an image file into Base64.

Supports PNG, JPG, GIF and WebP up to 10 MB and 40 megapixels.

Base64 ↔ image converterPreview encoded images or convert an image file to Base64.
PNG · JPG · GIF · WebP

Converts original image bytes without resizing or recompression. Input and files are not uploaded.

Image preview

Your image and file details appear here after conversion.

Choose the direction that matches your data

  • Inspect encoded image data

    Paste the string into Base64 to image. Raw Base64 and a data:image/...;base64, prefix are both accepted; inspect the preview and detected format.

  • Encode a file

    Choose an image in Image to Base64. Include the data URI prefix if your destination needs it, then copy the output or save it as TXT.

  • Check the file details

    Compare dimensions, byte size and MIME type with the original. Saving the image preserves its bytes, so reducing its size is a separate task.

Encode a logo as a data URI

Start with
Valid PNG logo → Image to Base64 → include prefix
Check the result
The preview appears with a string beginning data:image/png;base64,.

Turn the prefix off for raw Base64. Encoding does not resize or recompress the image.