Tools
Base64 tools for text, images and SVG
Encode or decode text, convert images and SVG to Base64 data URIs, preview results and copy them without sending content to a server.
Full catalogue
Developer
Base64 encode
Encode Unicode text as Base64 instantly, then copy or download the result locally.
Developer
Base64 decode
Decode valid Base64 into readable Unicode text with strict error detection and no upload.
Developer
Image to Base64
Turn JPG, PNG, WebP or SVG images into raw Base64 or a ready-to-use Data URI.
Developer
Base64 to image
Validate Base64 or a Data URI, detect its image type, preview it and download the file.
Images
SVG to Base64
Sanitize SVG markup and turn it into raw Base64 or a ready-to-use image Data URI locally.
How to choose a Base64 tools tool
Base64 represents binary bytes as plain characters so data can travel inside text formats. It is encoding, not encryption, and anyone with the value can decode it.
Use a data URI when the MIME type and encoded value must be kept together. Raw Base64 is useful when another system supplies the media type separately.
Frequently asked questions
Is Base64 encryption?
No. Base64 only changes how data is represented. It offers no secrecy and should never be used to protect passwords or private information.
Why is Base64 larger than the original file?
Encoding groups bytes into printable characters and normally adds about one third to the size, before any data URI prefix.