Tool
Encode text to Base64 or decode it back. Need a Data URI for an image? Drop it here and get a copy-paste-ready string.
Drag and drop an image here, or click to browse
Supports JPG, PNG, GIF, SVG, WebP
Base64 is a way to represent binary data (images, files) as plain text. Why would you need that? Because formats like JSON, XML, and email only support text — you can't shove raw PNG bytes into a JSON body. Base64 uses the characters A-Z, a-z, 0-9, +, and / to encode binary data into a safe text string that can go anywhere text goes.
| Topic | Detail |
|---|---|
| Size increase | Base64 output is roughly 33% larger than the original data |
| Not encryption | Base64 is encoding, not encryption. Anyone can decode it — never use it to protect sensitive data |
| Unicode support | Non-ASCII characters (CJK, emoji) need to be converted to UTF-8 bytes first — this tool handles that automatically |