Free Online Base64 Encoder & Decoder
Encode and decode text and binary files to Base64 with UTF-8 support. Browser-based, no signup required.
Input
Output
What is Base64?
Base64 represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, / and = padding). It is commonly used to embed binary data in text formats such as HTML, CSS, JSON and email.
UTF-8 handling
This tool encodes text as UTF-8 before Base64-encoding, so non-ASCII characters (e.g. accented letters, emoji, Indian scripts) round-trip correctly.
Example
Privacy
Processing happens entirely in your browser. Nothing is uploaded.
Base64 Encoder/Decoder FAQ
Is Base64 encryption?
No. Base64 is a reversible encoding that represents binary data as text. Anyone can decode it, so never use it to protect passwords, tokens or other secrets.
Does it handle Unicode text correctly?
Yes. Text is converted to UTF-8 bytes before encoding, so emoji, accented characters and non-Latin scripts round-trip without corruption.
Can I encode and decode files?
Yes. You can upload a file to get its Base64 representation, and decoded binary data can be downloaded as a file. Everything happens locally in the browser.