100% client-side · No signup · Free forever. This Encode tool runs entirely in your browser — nothing is uploaded.
Frequently Asked Questions
Everything you need to know about the Base64 Encoder/Decoder.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary or text data as an ASCII string using a 64-character alphabet (A-Z, a-z, 0-9, + and /). It is widely used in data URIs, email (MIME) attachments, Basic Auth headers, PEM-encoded keys, and JWT tokens.
Is it safe to paste sensitive data here?
Yes. All encoding and decoding happens entirely in your browser using the native btoa and atob functions. No data is sent to any server, logged, or stored.
How do I decode a Base64 string?
Paste the Base64 string into the input box and click Decode. The tool converts it back to the original UTF-8 text. If you get an error, the string may be Base64URL (replace - with + and _ with /) or contain stray whitespace that should be removed.
Is Base64 a form of encryption?
No. Base64 provides no security at all — anyone can decode it instantly. It only makes binary data safe to transmit through text-only channels. Never use Base64 to protect passwords or secrets.
Why is my Base64 output about a third larger than the input?
Base64 represents every 3 bytes of input as 4 ASCII characters, so the encoded output is roughly 33% larger than the source. This size overhead is the cost of being safe to embed in JSON, URLs, headers, and email.