Codegrain

Base64 encode & decode online — free, no upload

Encode text to Base64 or decode it back — free, online. Full Unicode (emoji, Cyrillic, CJK) and URL-safe support. Runs in your browser; nothing is uploaded.

Operation

Unicode is supported. Decoding ignores spaces and line breaks and accepts URL-safe input.

0 chars
0 chars
Encoding and decoding run in your browser. Nothing is uploaded.
Frequently asked questions

Frequently asked questions

Is my text sent to a server?

No. Encoding and decoding happen entirely in your browser with JavaScript — your text never leaves your device and nothing is uploaded. That matters when you're handling tokens, keys or payloads you'd rather not paste into a third-party site that logs them.

What is Base64 and when do I need it?

Base64 represents binary or text data using 64 safe ASCII characters. It's used to embed data in URLs, JSON, data URIs, email (MIME) and config files where raw bytes or special characters would break things. It isn't encryption — anyone can decode it.

Does it handle emoji and non-Latin text correctly?

Yes. Text is encoded as UTF-8 before Base64, so emoji, Cyrillic, Chinese, Japanese, Korean and any other Unicode round-trips perfectly. The URL-safe option swaps + and / for - and _ and drops padding, so the output is safe in URLs and filenames.

Related tools