Base64 Encoder / Decoder

Convert text to Base64 encoding, or decode Base64 back to readable text. Useful for embedding binary data in text formats, API tokens, and email attachments.

What is Base64?

Base64 is a method for converting binary data (or text) into an ASCII string format using a set of 64 characters. It's commonly used for:

Note: Base64 encoding makes data about 33% larger than the original. It is not encryption – anyone can decode it. Do NOT use Base64 for sensitive data.

Read our detailed guide on Base64 =>


Frequently Asked Questions

Q: Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone with the encoded string can decode it. Never use Base64 for passwords or sensitive data.

Q: Does this tool handle UTF-8 characters (like Chinese, emoji)?
Yes. This implementation properly handles UTF-8 using modern JavaScript APIs. All Unicode characters are supported.

Q: Why would I need Base64 encoding?
When you need to send binary data (like an image or file) through text-only protocols (like JSON, email, or certain APIs), Base64 converts it into safe text.

Q: Can I encode files with this tool?
This version is for text. For files, you would need a different API. Let us know if you would like a file-based Base64 converter.

Need more developer tools? Visit our tool collection.