What Is Base64 Encoding?
What is Base64?
Base64 is a way to represent binary data as ASCII text. It uses 64 characters (A–Z, a–z, 0–9, plus two symbols) so data can be safely sent in JSON, XML, or URLs.
When to use Base64
- Embedding images in HTML or CSS (data URLs)
- Storing binary data in JSON or APIs
- Including attachments in email or API payloads
Encode or decode in the browser with our Base64 Encoder and Base64 Decoder. All processing is client-side—no data is sent to a server.