URL-Safe Base64 Encoder & Decoder
Encode and decode Base64URL, the URL-safe Base64 variant.
Browser-side processing
This tool is designed to process your input on your device. Some operations download additional code when first used, so loading the page alone does not guarantee offline availability. Review the tool's disclosures and use your browser's Network tab to distinguish dependency downloads from requests containing input.
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
