Base64URL Encode/Decode
Encode and decode URL-safe Base64 (- and _ instead of +/, no padding) right in your browser.
Input
Output
Base64URL is the variant used in JWTs, URLs and filenames because it avoids characters that need escaping. Paste text or a base64url string below to convert it instantly — everything runs locally, nothing is uploaded.
How to use
- Choose Encode or Decode mode.
- Paste your text or base64url string into the input box.
- Copy the converted result from the output box.
Frequently asked questions
- How is Base64URL different from regular Base64?
- It replaces '+' with '-' and '/' with '_', and drops the '=' padding, so the result is safe to use in URLs, filenames and JWT tokens without extra escaping.
- Does it support Unicode text?
- Yes, text is encoded to UTF-8 bytes before base64url conversion, so emoji and non-Latin scripts round-trip correctly.
- Is my data uploaded anywhere?
- No, all conversion happens in your browser using JavaScript; nothing is sent to a server.