Web Toolbox

Base64 encoder and decoder

Runs in your browser – nothing is uploaded.

Turn text into Base64, or decode a Base64 string back into readable text. Text is converted to UTF-8 bytes first, so accented letters, symbols and emoji round-trip correctly.

Choose Encode or Decode in the Mode option, paste your input and press Run.

Example

Mode: Encode

Input

Hello, world!

Output

SGVsbG8sIHdvcmxkIQ==

Frequently asked questions

Is Base64 a form of encryption?

No. Base64 is an encoding, not encryption. Anyone can decode it, so do not use it to protect secrets.

Can it decode URL-safe Base64?

Not yet. The decoder expects the standard alphabet with + and /. For URL-safe Base64 (with - and _), replace those characters first, or use the JWT decoder for tokens.

Why does decoding fail?

Usually the input contains characters outside the standard Base64 alphabet (such as - or _ from URL-safe Base64) or has been cut short. Spaces and line breaks are ignored.