Base64 URL-Safe Encoder

Encode and decode Base64URL (RFC 4648 §5) for tokens and URLs.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

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.

Ad placeholder (rectangle)