What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data as printable ASCII characters. It's widely used in:
- Email: Encoding attachments in MIME.
- Web: Embedding images as data URIs in HTML/CSS.
- APIs: Transmitting binary data in JSON payloads.
- Authentication: HTTP Basic Auth headers.
How does it work?
Base64 converts every 3 bytes of input into 4 ASCII characters, resulting in roughly a 33% increase in size. The output uses characters A-Z, a-z, 0-9, +, /, and = for padding.
Is my data secure?
Yes. All encoding/decoding happens 100% in your browser. No data is ever transmitted to any server.