Image to Base64

Convert a local image file to Base64 without sending it to a server.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
Advanced settings

How to use this tool

Open an image file or drop it into the input area. Copy its Base64 text or save the encoded file. The original bytes are preserved, including metadata.

Example: Try example loads a PNG. Its Base64 output starts with iVBOR.

Frequently asked questions

Does it resize or compress my image?

No. It encodes the existing file without altering its image data.

What is the file size limit?

Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.