Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 strings. Processed in your browser.

Examples

FAQ

Is Base64 encryption?
No. Base64 is just an encoding. Anyone can decode it.

Why does decode fail?
The input may not be valid Base64 (missing padding, invalid characters, or URL-safe Base64 variations).

Is my data uploaded?
No. Encoding/decoding happens locally in your browser.

URL-safe Base64 (Base64url)

Some systems (notably JWT) use Base64url, which replaces + and / with - and _, and often omits = padding. If a decode fails, try adding the missing padding or converting Base64url to standard Base64.