Base64X

Base64X tools

URL-safe Base64 decode

Paste a URL parameter or token segment to read its bytes. Switch alphabets to copy the same value in a different form.

Runs locally — nothing is uploaded
0 characters
Result text
Everything stays in this tab

Decode a URL-safe value

Load the alphabet example. The input Pz8_Pz8- decodes to five question marks followed by a greater-than sign. Choose To standard and the input becomes Pz8/Pz8+. The decoded result stays the same. Choose To URL-safe to switch back. Copy the input field for the converted spelling, or use Copy result for the decoded text.

Restore missing padding

Load the padding example, SGVsbG8. Its last group contains three characters. A single trailing equals sign completes the group, and the result reads Hello. Turn off auto-fix to inspect the missing padding, then use the offered repair. A final group of just one character cannot encode a byte. Retrieve the complete value from its source.

Working with URLs and token segments

Copy only the parameter value. A full address, quotation marks or surrounding JSON syntax will cause an error. A JWT uses a period between its sections. For a full token, use the main Base64 decoder. To inspect a picture or recover a downloadable file, open Base64 to image.

Common questions

What changes when I switch alphabets?

The symbols + and / become - and _. The URL-safe spelling here also omits trailing padding. Both forms represent the same bytes.

Can the decoder recover a truncated token?

It can restore omitted padding when the final group has two or three characters. Missing data characters require a fresh copy from the source.

Why do I see a mixed alphabet error?

The value contains symbols from both alphabets. Check how the value was copied or joined before converting it.