Base64 Encode/Decode
Encode text to Base64 or decode Base64 to text. Free online Base64 encoder and decoder.
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to encode data for safe transport over text-based protocols like email or HTTP, and to embed images directly in HTML/CSS.
How does Base64 work?
Base64 takes every 3 bytes of input data and converts them into 4 ASCII characters from a 64-character alphabet (A-Z, a-z, 0-9, +, /). The output is roughly 33% larger than the input.
Is Base64 encryption?
No! Base64 is encoding, not encryption. It provides no security โ anyone can decode Base64. Never use Base64 to protect sensitive data. Use proper encryption (AES, RSA) for security purposes.
What are common uses of Base64?
Base64 is used in: data URLs for embedding images in HTML/CSS, email attachments (MIME), HTTP Basic authentication, JWT tokens, and API payloads that need to transport binary data as text.
Is this tool free and private?
Yes, completely free with no sign-up required. All encoding/decoding happens in your browser using the built-in JavaScript functions. Your data never leaves your device.