Free Base64 Encoder / Decoder with URL-safe Support

Base64 Encoder/Decoder

Encode text, decode Base64, and switch to URL-safe output when you need it.

ModeEncode
AlphabetStandard
OutputStandard Base64
Input

Text to encode

Type or paste plain text. Unicode is handled safely.

148 input bytes200 output bytes
Output

Standard Base64

Processing happens locally in your browser.

Alphabet: StandardEncode text or decode Base64 locally in your browser.

What this covers

Standard Base64 for regular payloads, plus URL-safe Base64 for query strings, paths, and token-like data.

Input behavior

Decoder accepts both standard and URL-safe alphabets, with or without trailing padding.

Why it matters

It keeps the common encode/decode loop in one place and removes the annoying padding and alphabet edge cases.