Back to home

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings back to plain text. Supports UTF-8 characters. All processing happens in your browser.

Text to Encode

Input length: 0 characters

Output

Output length: 0 characters

About Base64 Encoding

Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It's widely used to encode binary data for transmission over text-based protocols like email (MIME), HTTP, and embedding images in HTML/CSS as data URLs. For other encoding tasks, see our URL Encoder/Decoder for percent-encoding web addresses.

Base64-encoded data is approximately 33% larger than the original binary because every 3 bytes of input produce 4 characters of output. Padding characters (=) are added when the input length is not a multiple of 3. When working with sensitive data, remember that Base64 is encoding, not encryption — for secure credentials, use our Password Generator to create cryptographically secure passwords.

Take this calculation further

Browse the other calculators collection for more tools in this subject.

For a related calculation, use URL Encoder/Decoder to encode or decode URLs using percent-encoding. Shows which characters were encoded. Alternatively, use IP Subnet Calculator to calculate network address, broadcast, usable hosts, subnet mask, and wildcard from IP and CIDR.