Base64URL encoder and decoder
Base64URL is the URL- and filename-safe variant of Base64 defined in
RFC 4648 §5. It swaps the two problematic characters — + becomes -
and / becomes _ — and drops the trailing = padding, so the encoded
string can travel inside a URL query string or a JWT without any extra
percent-escaping.
Switch between encode and decode, paste your input, and the result updates instantly — everything runs locally in your browser.