Base64 Encode / Decode

Convert text to Base64 and back, with full Unicode support.

🔒 100% browser-based — your data never leaves your device.

About this tool

Encode any text into Base64 or decode a Base64 string back to text. Unlike naive implementations, this tool encodes through UTF-8 first, so emoji, Korean, Japanese, Arabic and every other script round-trip correctly.

Base64 is used everywhere binary or arbitrary text must travel through channels that only accept plain ASCII: HTTP basic auth headers, data URIs, email attachments (MIME), JSON payloads and configuration files.

Frequently asked questions

Is Base64 encryption?

No — it is an encoding, not encryption. Anyone can decode it instantly. Never use Base64 to hide secrets; use real encryption for that.

Why does my decoded text look broken elsewhere?

The string was probably encoded from UTF-8 but decoded as Latin-1 (or vice versa). This tool uses UTF-8 in both directions, which is the modern standard.

What are the = signs at the end?

Padding. Base64 works in blocks of 3 bytes → 4 characters, and = fills the last block when the input length is not a multiple of three.