Base64 Encoder/Decoder
📝Texte et Dev•100% Client-SideEncode and decode Base64 strings. Fast, responsive, and completely private in your browser.
Enter Your Parameters
Provide your custom values in the interactive workspace above. Inputs update dynamically with zero lag.
Instant Calculation
All logic processes client-side in your web browser. You receive immediate outputs without server latency.
100% Private & Free
Zero data is stored or logged remotely. Perform unlimited calculations with complete confidentiality.
About Base64 Encoder/Decoder
The Base64 Encoder and Decoder converts plain text and binary data into the RFC 4648 ASCII-compatible Base64 format and vice versa (base64 encode and base64 decode).
Base64 is universally utilized across modern web protocols to transmit binary images inside CSS/HTML data URLs (`data:image/png;base64`), encode Basic Auth credentials in HTTP headers, and package email MIME attachments without byte corruption.
Our tool processes text with full UTF-8 multi-byte character support, including emojis, international scripts, and terminal escape codes, operating client-side with zero data leaks.
Base64 Mathematical Encoding Process
24 bits of binary data are divided into four 6-bit numbers (values 0–63) mapped onto the 64-character index: A–Z, a–z, 0–9, +, and / (with = for padding).
Step-by-Step Base64 Encoding Example
- Input Text: "Real Measurement"
- ASCII / UTF-8 Binary: 01010010 01100101 01100001 01101100...
- Encoded Base64 String: "UmVhbCBNZWFzdXJlbWVudA=="
- Padding: Two "=" characters pad the final 24-bit block
- Decoding (decode base64): Reverses the 6-bit mapping back into original UTF-8 text
Base64 Data Size & Overhead Reference
| Raw Binary Size | Base64 Encoded Size | Typical Application |
|---|---|---|
| 100 Bytes | ~136 Bytes (+36%) | API Tokens & Basic Auth credentials |
| 1 Kilobyte (1 KB) | ~1.33 KB (+33%) | Small inline SVG & PNG icons |
| 10 Kilobytes (10 KB) | ~13.3 KB (+33%) | data:image/png;base64 inline images |
| 1 Megabyte (1 MB) | ~1.33 MB (+33%) | Email attachments (MIME base64) |