Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to plain text instantly.

48 characters
64 characters
SGVsbG8sIFdvcmxkISBUaGlzIGlzIGEgQmFzZTY0IGVuY29kaW5nIGV4YW1wbGUu

Frequently Asked Questions

Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. It uses 64 characters (A-Z, a-z, 0-9, +, /) to encode data, making it safe to transmit over text-based protocols like email or URLs.
Base64 is commonly used to embed images in HTML/CSS, send binary data in JSON or XML payloads, encode email attachments (MIME), and pass data through URLs or APIs that only support text.
No. Base64 is an encoding scheme, not encryption. Anyone can decode Base64 text back to the original data. It provides no security or confidentiality — use proper encryption (AES, RSA) if you need to protect sensitive data.
Base64 encoding increases data size by approximately 33%. Every 3 bytes of input produce 4 bytes of Base64 output, plus optional padding characters (=) to make the output length a multiple of 4.
Standard Base64 uses A-Z, a-z, 0-9, +, and /. The = character is used for padding. URL-safe Base64 replaces + with - and / with _ to avoid conflicts with URL-reserved characters.