Developer

Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 back to text, with full Unicode support and nothing leaving your browser.

Developer

Base64 encoder & decoder

Local only

Plain text

Base64

Nothing is uploaded

Encoding and decoding use the browser's built-in functions, so tokens and payloads stay on your device.

What Base64 is for

Base64 represents binary data using 64 printable characters, so it can travel safely through systems that expect text — email attachments, data URLs, JSON payloads and HTTP headers. Hello ToolToUse becomes SGVsbG8gVG9vbFZleGE=.

Unicode support

Text is encoded as UTF-8 first, so accents, emoji and non-Latin scripts round-trip correctly rather than breaking as they do with a naive byte conversion.

URL-safe Base64

Standard Base64 uses + and /, which have meaning in URLs. The URL-safe variant swaps them for - and _ and removes the = padding — the format used by JWTs.

Base64 is not encryption

Anyone can decode it instantly. Use it for transport and encoding, never to protect secrets.

Good to know

Frequently asked questions

Does it handle emoji and accents?

Yes. Text is converted to UTF-8 bytes before encoding, so any Unicode character round-trips correctly.

What is URL-safe Base64?

A variant that replaces + and / with - and _ and drops the padding, making the value safe to use inside URLs and JWTs.

Why does decoding fail?

The input contains characters outside the Base64 alphabet, or bytes that are not valid UTF-8 text. Check for truncated or pasted-over content.

Is Base64 secure?

No. It is an encoding, not encryption — anyone can decode it. Never use it to hide passwords or secrets.