Base64URL Converter
Encode and decode URL-safe Base64 (Base64URL). Convert between standard Base64 and Base64URL for JWTs, query strings, and filenames.
22 characters
30 characters · 22 bytes
How it works
Choose a mode
Encode turns UTF-8 text into Base64URL. Decode reverses it. Std → URL swaps +/ for -_ (and usually drops =). URL → Std restores standard Base64.
Padding and live convert
JWTs typically omit padding. Enable Keep padding if a consumer expects = characters. Live mode updates as you type.
Copy or download
Swap flips related modes and moves output to input. Copy or download the result — nothing is uploaded.
What is a Base64URL converter?
Base64URL is the URL-safe variant of Base64 used in JWTs, signed cookies, and query parameters. This tool encodes and decodes UTF-8 text as Base64URL and converts between standard and URL-safe alphabets in your browser.
Why use this tool
- UTF-8 ↔ Base64URL
- Standard Base64 ↔ Base64URL
- Optional padding retention
- Live mode and swap
- Byte stats
- Unlimited use — no daily cap
Questions
What is Base64URL?
A URL- and filename-safe Base64 alphabet (RFC 4648 §5) that uses - and _ instead of + and /, often without = padding. JWTs use it for each segment.
When should I keep padding?
Most JWT and query-string uses omit =. Keep padding only if the other side expects a length that is a multiple of 4 with = characters.
How is this different from the Base64 tool?
The Base64 tool focuses on text ↔ Base64 with an optional URL-safe checkbox. This page also converts existing Base64 strings between standard and URL-safe forms.
Is my text sent to a server?
No. Conversion runs entirely in this tab.
Is there a daily limit?
No. This tool has no daily cap.
Do I need an account?
No. Open the page and use it.
Does it work on a phone?
Yes. It runs in the mobile browser.
If Easy24 helped, buy a coffee
Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.
Similar Convert tools
See allBase64 Encode / Decode
Convert
Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.
OpenFile ⇄ Base64
Convert
Encode any file to Base64, Data URI, HTML, CSS, JSON, XML, or Markdown — or paste Base64 to download the file. URL-safe and MIME wrap options. Runs in this tab.
OpenImage ⇄ Base64
Convert
Convert images to Base64 or data URLs and decode them back. Live preview, HTML/CSS/Markdown snippets, MIME and pixel size — nothing uploaded.
Open