Base64 encoding converts binary data into a set of 64 printable ASCII characters. It is used everywhere:
- Embedding images in HTML/CSS via data URIs
- Sending attachments in email (MIME)
- Storing binary data in JSON or XML
- Basic authentication in HTTP headers
Our Base64 Encoder automatically detects whether your input is plain text (to encode) or already Base64 (to decode). No button switching needed — just paste and see the result.
It works entirely in your browser. Your data never leaves your computer.