Base64 Encoder / Decoder
Convert text to and from base64 encoding format
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used in email (MIME), data URIs in HTML, and encoding credentials in HTTP headers. It is not encryption — it is simply a way to represent binary data as text.
When to Use Base64
- Encoding image data for inline use in HTML/CSS as data URIs
- Transmitting binary data through text-only protocols
- Encoding credentials in HTTP Authorization headers
- Storing binary data in JSON or XML fields
Examples
Encode: "Hello World" → "SGVsbG8gV29ybGQ="
Decode: "SGVsbG8gV29ybGQ=" → "Hello World"