Base64 Encoder/Decoder
Encode and decode Base64 strings
Calculator
How to Use
Encode and decode Base64
Enter text or data
Input text to encode or Base64 to decode
Select operation
Choose encode or decode
Get result
See encoded/decoded output
Copy result
Copy to clipboard
Frequently Asked Questions
Base64 converts binary data to ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). Used to transmit binary data over text-based protocols (email, JSON). Encoded data is ~33% larger than original.
Use for: embedding images in HTML/CSS, transmitting binary in JSON/XML, encoding email attachments, storing binary in databases. Dont use for: encryption (its encoding, not encryption) or compressing data.
No! Base64 is encoding, not encryption. Anyone can decode it. Its for data transport, not security. For security, use actual encryption (AES, RSA) then optionally Base64 encode the encrypted result.
Base64URL replaces + with - and / with _ for URL safety. Standard Base64 characters can cause issues in URLs. Use Base64URL for JWTs, URL parameters, and filenames. Our encoder supports both formats.
Tech & Dev
Developer tools for JSON, encoding, and regex