How it works
Base64 rewrites any data with 64 safe characters so it can travel through systems built for plain text: emails, JSON fields, data URLs. It is encoding, not encryption; anyone can decode it. This page handles Unicode correctly, encoding the UTF-8 bytes rather than mangling non-English text the way naive tools do.
Formula
Length grows by about a third.
Example
Example in plain words. hello world.
Encoded: aGVsbG8gd29ybGQ=.
The word cafe with an accented e encodes as Y2Fmw6k=, because the accent takes two UTF-8 bytes.
Decoding aGVsbG8gd29ybGQ= returns hello world.
Frequently asked questions
Is Base64 secure for secrets?
No. It is readable by anyone at a glance. Never treat it as protection for passwords or keys.
Why does the output end with =?
Padding. Input bytes do not always fill a group of three, and the equals signs mark the short group so the decoder can stop cleanly.