Base64 Encoder
Convert plain text into Base64 — commonly used for embedding data in URLs, emails and configuration files.
Characters
48
Size increase
41.18%
Base64
VkVMTkFSTyDigJQgRnJlZSBUb29scyBmb3IgUmVhbCBMaWZl
Data URI
data:text/plain;base64,VkVMTkFSTyDigJQgRnJlZSBUb29scyBmb3IgUmVhbCBMaWZl
How this was worked out
- How it worksBytes are grouped in threes and mapped onto 64 printable characters, so the output is about 33% larger than the input.
Formula
Each group of 3 bytes becomes 4 Base64 characters.
Example
Input
Hello
Result
SGVsbG8=
Frequently asked questions
No. It is an encoding — anyone can decode it instantly. Never use it to hide secrets.
Base64 uses 4 characters for every 3 bytes, so it grows the data by roughly a third.
A URL-safe variant that replaces + and / with - and _ and drops padding.
Related tools
Keep going — these tools solve the problems that usually come next.