Toolcedar

Base64 Encoder & Decoder

Encode text to Base64 and decode it back, right in your browser. Handles Unicode correctly and never sends your data anywhere.

How to use the Base64 Encoder & Decoder

  1. Pick a direction. Choose whether you are encoding plain text or decoding Base64.
  2. Paste your input. The result updates as you type, so there is no button to press.
  3. Copy the result. Copy the output straight to your clipboard.

Frequently asked questions

Is Base64 a form of encryption?
No, and this matters. Base64 is an encoding, not a cipher: anyone can decode it instantly without a key. Never use it to hide passwords, tokens or personal data.
Why does Base64 make my data larger?
Base64 represents every three bytes as four printable characters, so the output is about 33 percent larger than the input. That is the cost of surviving channels that only accept text.
Does this handle emoji and non-English text?
Yes. The text is converted to UTF-8 bytes before encoding, which is what many naive Base64 tools get wrong. Accents, emoji and non-Latin scripts all round-trip correctly.
Why does my Base64 string fail to decode?
The usual causes are missing padding characters at the end, whitespace or line breaks pasted in from an email, or a URL-safe variant that uses dashes and underscores instead of plus and slash.

Last updated