Base64URL Decode & Encode

Decode URL-safe Base64 strings or encode text using the URL-safe alphabet.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
Advanced settings

How to use this tool

Paste a Base64URL string. Missing padding is restored in tolerant mode. To encode, switch to Encode; the URL-safe format is preselected.

Example: Decode _-8 and inspect the hex view to see FF EF.

Frequently asked questions

How is Base64URL different?

It uses - and _ instead of + and /; some protocols omit padding. This tool emits unpadded Base64URL.

What is the file size limit?

Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.