Base64 in plain language
Base64 turns binary data into ASCII text so it can travel through JSON, email, and URLs safely.
Common use cases
- Embedding small images in CSS or HTML (data URIs)
- Passing binary blobs through text-only APIs
- Basic auth headers (still over HTTPS only)
UTF-8 pitfalls
Encoding arbitrary Unicode text requires UTF-8 bytes first, then Base64. Decoding without specifying UTF-8 produces mojibake for non-ASCII characters.
Encode and decode locally with the Base64 tool — nothing leaves your browser.