Base64 Encoder/Decoder
Encode text or files to Base64, and decode Base64 back to text or binary. Supports UTF-8 and file download.
Text to Encode
Base64 Output
Base64 FAQ
What is Base64 encoding used for?
Base64 is used to encode binary data as ASCII text, commonly for embedding images in HTML/CSS, sending binary data in JSON APIs, and email attachments (MIME). It increases data size by ~33% but ensures safe text transmission.
Is Base64 encryption?
No. Base64 is encoding, not encryption. It is easily reversible by anyone. Never use Base64 to protect sensitive data—use proper encryption like AES instead.
Does it support Unicode text?
Yes. We properly handle UTF-8 encoding, so Chinese, Japanese, emoji, and other Unicode characters are correctly encoded and decoded without corruption.
Can I encode files as Base64?
Yes. Select any file and it will be encoded as a Base64 data URI. This is useful for embedding small images or fonts directly in HTML or CSS files.