Base64URL Encoder
Encode and decode URL-safe Base64 (base64url) β the JWT variant with - and _ instead of + and /.
Runs locally in your browser. Your input is not uploaded.
How to Use
- 1
Paste text or a token segment
Pick encode or decode.
- 2
Convert
Decoding accepts padded or unpadded input.
- 3
Copy the result
Safe to embed in URLs, cookies, and filenames.
Frequently Asked Questions
- Two characters are swapped (+ becomes -, / becomes _) and the trailing = padding is usually dropped β making the output safe in URLs, filenames, and cookies without escaping.
Related Tools
Base64 EncoderEncode text and binary data as Base64Base32 EncoderEncode or decode Base32 per RFC 4648URL EncoderPercent-encode and decode URLsHash GeneratorGenerate MD5, SHA-1, and SHA-256 hashesHMAC GeneratorCreate HMAC signatures with a secret keyBcrypt GeneratorHash and verify passwords with bcryptPassword GeneratorStrong random passwords with strength indicatorPassphrase GeneratorGenerate memorable multi-word passphrases