Base64URL Encoder / Decoder
Encode and decode URL-safe Base64 (Base64URL) used in JWTs and URLs.
Standard Base64 uses +, / and = — characters that break inside URLs, query parameters and filenames. Base64URL is the fix: it swaps + for -, / for _, and drops the = padding, producing an encoding safe to drop straight into a link or a JWT without further escaping. It's exactly what JSON Web Tokens use for their header and payload segments.
This tool encodes text to Base64URL and decodes it back. It's handy for inspecting JWT parts, building URL-safe tokens, or debugging any system that uses the URL-safe alphabet instead of standard Base64.
How to use Base64URL Encoder / Decoder
- 1
Choose a direction
Encode text → Base64URL, or decode.
- 2
Enter your input
No padding needed on decode.
- 3
Copy the result
Safe to drop into a URL or token.
Features
- URL-safe alphabet (- and _ instead of + and /)
- No = padding
- Full UTF-8 support
Frequently asked questions
Common mistakes to avoid
- Feeding standard Base64 (with + / =) into a Base64URL decoder, or vice versa.
- Expecting encryption — Base64URL is reversible encoding, not security.
Get new tools in your inbox
One email a month with new tools, guides, and updates. No spam, unsubscribe anytime.

