Encode and decode Base64
Base64 Encoder converts text to and from Base64 directly in your browser using the built-in btoa()/atob() functions — nothing is uploaded to a server. It only handles Latin1 text (basic Latin letters, digits, and common punctuation); text containing emoji, most non-Latin scripts, or other characters outside that range will fail to encode, and decoding Base64 built from UTF-8 text with such characters will often produce garbled output rather than the original.
What is Base64 encoding used for?
Converting binary or text data into an ASCII string, making it safe to transmit across email, APIs, and web protocols that may not handle raw binary data well.
Is this tool secure and private?
Yes — encoding and decoding happen entirely in your browser; nothing is sent to a server.
Can I encode any text, including emoji or non-Latin characters?
Not reliably. The underlying browser function only supports Latin1 text, so text with emoji or many non-Latin scripts will fail with "Error encoding," and decoding Base64 representing such characters often produces garbled text instead of the original.
Can I encode large files?
No — this tool only accepts pasted text, not file uploads, so it isn't meant for encoding files.