Base64 Encoder / Decoder

Encode or decode API payloads instantly.

Convert text to Base64 (or Base64url) and decode payloads safely in your browser. Great for tokens, headers, and webhook payload debugging.

Modes Encode / Decode
Variants Base64 / Base64url
Runs Locally in your browser

Input

Tip: Base64url replaces +/ with -_ and removes padding.

Output

Waiting for input
--

Base64 tips

Base64 vs Base64url

Base64url replaces +/ with -_ and removes padding for safe URLs.

Binary payloads

Binary data may decode to non-printable characters. Use UTF-8 text when possible.

JWT segments

JWT header and payload are Base64url without padding.