Base64 Encoder / Decoder

Convert text to Base64 and back, with full Unicode (UTF-8) support and an optional URL-safe alphabet. Nothing leaves your browser.

About Base64

Base64 encodes binary data into 64 printable ASCII characters (A–Z, a–z, 0–9, +, /) so it can travel safely through systems designed for text — email attachments, JSON payloads, data URIs, JWT tokens, and basic HTTP authentication all use it. Encoding increases size by about 33%.

Frequently asked questions

Does this tool handle emoji and non-English text?

Yes. Text is first encoded as UTF-8 bytes and then Base64-encoded, so emoji, Chinese, Arabic, and every other Unicode script round-trip correctly.

What is URL-safe Base64?

Standard Base64 uses + and /, which have special meaning in URLs. URL-safe Base64 (RFC 4648 §5) replaces them with - and _ and usually drops the = padding. It's the variant used in JWTs and URL parameters.

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it instantly. Never use it to protect secrets.

Last updated: 2026-07-11