Skip to content

Base64 Encoder/Decoder

Encode text to Base64 or decode Base64 back to plain text.

AvailableRuns in your browserFree · No sign-up

Base64 Encoder/Decoder

Mode

Use - and _ and drop = padding.

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Base64 Encoder/Decoder

  1. 1Choose Encode or Decode.
  2. 2Paste your text or Base64 string — the output updates as you type.
  3. 3Turn on URL-safe mode if the result will be used in a URL or filename.
  4. 4Copy or download the output, or use Swap to reverse the conversion.

Examples

  • Encode

    Input
    Hello, World!
    Result
    SGVsbG8sIFdvcmxkIQ==
  • Emoji

    Input
    🎉
    Result
    8J+OiQ==

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect passwords or sensitive data.

Does it support emoji and non-English text?

Yes. Text is converted to UTF-8 bytes before encoding, so accents, scripts such as Arabic or Chinese, and emoji encode and decode correctly.

What is URL-safe Base64?

It replaces + and / with - and _ and removes = padding, so the result can be used in URLs and filenames. The decoder accepts both forms.

Why does decoding say the data isn't valid text?

The Base64 decoded successfully, but the bytes aren't UTF-8 text — they may represent an image or another binary file. This tool decodes text only.