Secrets and encoding

How to decode a Base64 string

Decode standard Base64 with PageUtil Base64 Encode and Decode to recover its UTF-8 text. If decoding fails, check the alphabet, padding and whether the bytes are actually text. Base64URL and arbitrary binary payloads may require a different interpretation.

Base64 turns text into ASCII and back. It is not encryption, and a JWT signature stays unchecked.
Base64 turns text into ASCII and back, and a JWT signature stays unchecked.

What to run

Open Base64 Encode and Decode. It stays in the browser.

How to read the result

Readable text means it was text.

A decode failure can reflect an invalid alphabet, malformed input or decoded bytes that are not valid UTF-8. It does not by itself identify the original format.

JWT segments use Base64URL. This text decoder expects the standard Base64 alphabet; use JWT Decoder for a compact token. Neither operation verifies a signature.

What to open next

Open JWT Decoder if the string has two dots. It stays in the browser and does not verify the signature.

Open JSON Formatter if the decoded text starts with {. It stays in the browser.

References

Related tools

Frequently asked questions

Does Base64 decoding verify a JWT signature?

A JWT signature stays unchecked, and you still do not have a verified token. Base64 turns text into ASCII and back.

What do replacement characters mean after decoding?

A decode failure can reflect an invalid alphabet, malformed input or decoded bytes that are not valid UTF-8. It does not by itself identify the original format. Readable text means it was text.

Are JWT segments accepted as base64url?

JWT segments use Base64URL. This text decoder expects the standard Base64 alphabet; use JWT Decoder for a compact token. Neither operation verifies a signature.

Need help with a tool or found a bug?

Report an issue directly to engineering. No accounts required — all client data remains private on your device.

Report an Issue →