Developer tools
Base64 image encoder and decoder
Turn an image into a Base64 data URL, or decode Base64 back to an image file.
A clear answer. Here’s how.
Encodes file bytes without modifying the image, or decodes strict standard padded Base64 into the original bytes. Reads PNG, JPEG, GIF and WebP signatures and checks that a data URL’s declared type matches the bytes. Signature checking identifies a type but does not validate the entire image. SVG and other active document types are not accepted. Up to 3 MB of decoded bytes. Files stay on the device; only explicit copying or downloading exports them.