Reference
What is Base64?
A reference for Base64 encoding: what it is, its alphabet, and its size overhead.
Base64 encodes arbitrary bytes as text from a fixed 64-character alphabet. It exists so binary data can travel through systems that only handle text.
01Key facts
- Every three input bytes become four output characters.
- The output is about one third larger than the input.
- Encoding is fully reversible and provides no secrecy.
Encoding is not encryption
Anyone can decode Base64. Use encryption when you need confidentiality.
Sources
- RFC 4648: The Base16, Base32, and Base64 Data Encodings — IETF (accessed 2026-09-01)
Test this in your browser
The tool runs entirely in your browser; the input you use never leaves it.
About the author
Gampangin builds and maintains free, browser-based developer tools and the documentation that makes them trustworthy. The organization is accountable for every page published on this site.