URL-Safe Base64 Encoder & Decoder
Encode and decode Base64URL, the URL-safe Base64 variant.
100% private - runs entirely in your browser.
Your input, keys and passwords are never uploaded. Want proof? Load this page, then turn off your internet - the tool still works. For an exact check, open your browser's DevTools Network tab and confirm no data is sent when you use it.
About the URL-Safe Base64 Encoder & Decoder
Encode text to URL-safe Base64 (Base64URL) or decode it back, the variant used in JWTs and query strings.
Base64URL replaces + and / with - and _ and drops padding, so the result is safe to put in a URL.
Everything runs in your browser, so your data stays private.
Key features
- Text to Base64URL and back
- URL-safe characters, no padding
- Open a file or paste your data
- Copy the result instantly
How to use
- 1Choose encode or decode.
- 2Paste your text or Base64URL.
- 3Copy the converted result.
Examples
Hello, world!SGVsbG8sIHdvcmxkIQNo padding and URL-safe characters.
SGVsbG8sIHdvcmxkIQHello, world!Base64URL is decoded back into the original text.
Frequently asked questions
- How is Base64URL different from Base64?
- It swaps + and / for - and _ and removes = padding, so the value can be used in URLs and JWTs without escaping.
- Where is Base64URL used?
- It is used in JSON Web Tokens, URL parameters and anywhere Base64 needs to be URL safe.
- Is my data uploaded?
- No. The conversion runs entirely in your browser.
Helpful guides
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Featured toolDeveloper ToolsBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text.
Open tool - Security & CryptographyJWT Decoder
Decode a JSON Web Token to inspect its header and payload.
Open tool - Featured toolDeveloper ToolsURL Encoder / Decoder
Percent-encode or decode URLs and query strings.
Open tool
