Base64 Encode & Decode
Convert text to Base64 and decode Base64 back to text instantly, with full UTF-8 support.
Encode and decode Base64 instantly
The Base64 Encoder & Decoder converts plain text to Base64 and decodes Base64 back into readable text in real time. Switch direction with one click, swap the output back into the input to chain conversions, and copy the result instantly. It fully supports Unicode (UTF-8), so emoji and accented characters round-trip correctly. Everything runs in your browser, so your data is never uploaded.
What is Base64?
Base64 is an encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, plus + and /). It is not encryption — anyone can decode it — but it is essential whenever binary or special characters need to travel safely through systems that expect plain text, such as email, URLs, JSON, and HTML. Encoding adds about 33% to the size, which is the trade-off for that safety.
Common uses for Base64
- Data URIs — embedding small images or fonts directly in CSS or HTML.
- Email attachments — MIME uses Base64 to send binary files as text.
- API tokens and credentials — Basic Auth headers are Base64-encoded.
- JSON payloads — embedding binary blobs in a text-only format.
- Storing binary in text fields — databases, config files, and cookies.
How to use it
- Choose Text → Base64 to encode, or Base64 → Text to decode.
- Type or paste your content.
- The result updates instantly — click Copy to grab it, or Swap to reuse it as input.
Base64 is not encryption
It is worth repeating: Base64 only encodes data, it does not secure it. Because the process is fully reversible with no key, never use Base64 to hide passwords or sensitive information. If you need confidentiality, use proper encryption. Base64's job is safe transport and storage of data as text, and it does that job perfectly.
UTF-8 support
Naive Base64 tools break on non-ASCII characters. This encoder first converts your text to UTF-8 bytes before encoding, and decodes back through UTF-8, so multilingual text, symbols, and emoji all survive the round trip intact. That makes it reliable for international content and modern applications.
Private and free
All encoding and decoding happen locally in your browser. Nothing is uploaded or stored, so it is safe for tokens and sensitive strings, and there are no usage limits.
Frequently asked questions
Is Base64 encryption?
No. Base64 is reversible encoding, not encryption. Anyone can decode it, so never use it to protect secrets.
Does it support emoji and accented characters?
Yes. The tool encodes and decodes through UTF-8, so Unicode characters round-trip correctly.
Why is Base64 larger than the original?
Base64 represents 3 bytes with 4 characters, increasing size by about 33%. That is the cost of making binary safe as text.
Is my data uploaded?
No. All processing happens in your browser. Nothing is sent to a server or stored.