Base64 Encode & Decode

Your files are never sent to a server · processed only in this browser

Method

Result

 

URL inspector

Decode a JWT Decodes the contents only — the signature isn't verified

 

The signature is not verified — that needs the key, and pretending otherwise is worse than not doing it. This only decodes the contents.

Questions

The decoded text looks garbled.

The original was probably binary (an image, a zip) or text in a non-UTF-8 encoding. This tool decodes to UTF-8 text.

What's the difference between Base64 and Base64URL?

Base64URL swaps + for - and / for _ and drops the trailing =, so it can sit in a URL unescaped. JWTs use it. When decoding, either form works.

Can I encode a file or image?

This tool takes text only. What you paste is encoded as UTF-8 bytes.

More tools

Esc