Base64URL Encode

Produce URL-safe Base64 without padding characters.

Tool Panel

Processed locally
Loading tool...
About Base64URL Encode

Base64URL is the URL-safe variant of Base64, used by JWTs and other values that travel in a URL. Replace + with - Replace / with _ Drop the trailing = padding

  • 1

    Base64URL differs from standard Base64 in exactly three places: `+` and `/` become `-` and `_`, and the trailing `=` padding is dropped — those three characters need escaping inside URLs, file names and cookies.

  • 2

    Decoding accepts the unpadded form (the tool pads it back itself), and CJK or emoji text round-trips as UTF-8.

  • 3

    Everything runs in the browser. It is not encryption, though: anyone can decode it back, it only moves bytes into a text-safe alphabet.

Related tools

View all
Encode & Crypto

Base64 Encode / Decode

Encode text to Base64, or decode it back.

Encode & Crypto
Encode & Crypto

Base32 Encode / Decode

Encode or decode text using the Base32 alphabet.

Encode & Crypto
Encode & Crypto

Base36 Encode / Decode

Encode or decode numbers and text in Base36.

Encode & Crypto
Encode & Crypto

Base58 Encode / Decode

Encode or decode with Base58, the alphabet Bitcoin addresses use.

Encode & Crypto
Encode & Crypto

Binary Encode

Turn text into its 0 and 1 representation.

Encode & Crypto
Encode & Crypto

Binary Decode

Turn a binary string back into readable text.

Encode & Crypto
Encode & Crypto

Hex Encode

Convert text to a hexadecimal string.

Encode & Crypto
Encode & Crypto

Hex Decode

Convert a hexadecimal string back to text.

Encode & Crypto