Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to text, with full Unicode support.

How to use the Base64 Encoder and Decoder

  1. Paste your text or Base64 string into the input box.
  2. Choose Encode or Decode.
  3. Copy the result.

Questions and answers

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Do not use it to protect secrets.

What is URL-safe Base64?

A variant that replaces + and / with - and _ so the value can be used in web addresses.

Why does decoding fail?

The text is probably not complete Base64: check for missing characters at the end or spaces in the middle.

See all free tools