Base64URL Encoder / Decoder — Free Online Tool

URL-safe Base64 (-_ instead of +/, no padding) encode & decode. Base64URL Encoder / Decoder is a free online tool from the ToolsRift Encoders & Decoders collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Base64URL Encoder / Decoder

How to use Base64URL Encoder / Decoder

Pick Encode or Decode, paste your text, and the URL-safe Base64 result appears instantly. Encoding replaces + with -, / with _ and removes = padding.

Frequently asked questions

How is Base64URL different from standard Base64?

It swaps the two non-alphanumeric characters: + becomes - and / becomes _, and the = padding is removed. This makes the output safe to drop into URLs, query strings and filenames.

Where is Base64URL used?

JSON Web Tokens (JWT), OAuth tokens, WebPush keys, and anywhere Base64 must appear in a URL without percent-encoding.

Does it handle Unicode text?

Yes — text is encoded as UTF-8 bytes first, so emoji and non-Latin scripts round-trip correctly.

More Encoders & Decoders

Base58 Encoder / Decoder
Bitcoin-alphabet Base58 encode & decode with leading-zero support
Hex Dump Viewer
View text as a hexdump -C style offset, hex and ASCII dump
Data URI Generator
Convert text, SVG, CSS or HTML into a data: URI (base64 or URL-encoded)
Base45 Encoder / Decoder
RFC 9285 Base45 encode & decode, as used in EU COVID QR certificates
Ascii85 Encoder / Decoder
Adobe Ascii85 (base85) encode & decode with z shortcut and <~ ~> delimiters
Z85 Encoder / Decoder
ZeroMQ Z85 (RFC 32) base85 encode & decode for 4-byte-aligned binary data

← View all Encoders & Decoders