Base64 Encode & Decode
Convert text to and from Base64. Full UTF-8 support, runs locally in your browser.
What is Base64?
Base64 is an encoding scheme that represents binary data using 64 printable ASCII characters. It is commonly used to embed images in CSS/HTML (data URIs), encode binary payloads in JSON, send attachments in email (MIME), and store credentials in HTTP headers.
When to use Base64
- Embedding small images or fonts directly in code as data URIs.
- Transmitting binary data through text-only channels (JSON, XML, email).
- Encoding HTTP Basic Auth credentials.
- Storing or transporting binary blobs safely as text.
Is Base64 encryption?
No. Base64 is encoding, not encryption — it provides no security. Anyone can decode it instantly. Never use Base64 to "hide" passwords or secrets.
UTF-8 support
This tool correctly handles Unicode characters (emoji, accented letters, CJK) by encoding to UTF-8 before Base64, so multi-byte text round-trips correctly.
Is my data safe?
All encoding and decoding happens locally in your browser — nothing is sent to a server.
Common Base64 conversions
Frequently asked questions
Is Base64 encryption?
No. Base64 is encoding, not encryption — it is fully reversible by anyone and provides no security. Never use it to protect secrets.
Does it support Unicode / UTF-8?
Yes. This tool correctly encodes and decodes full UTF-8 text, including emoji and non-Latin scripts.
Is it free and private?
Yes — it's free and unlimited, and runs entirely in your browser, so your data is never uploaded.