Base64 Encode & Decode

Encode text to Base64 or decode it back. Handles UTF-8, emoji and URL-safe Base64.

Input

Result


Paste or type something on the left.

Runs in your browser. Your data is never uploaded.

Notes

Anyone can decode Base64, so never treat it as a way to hide secrets. To look inside a token, try the JWT Decoder.

FAQ

What is Base64?

A way to write binary data using 64 printable characters. It is used in data URLs, email attachments and API tokens. It is encoding, not encryption.

What is URL-safe Base64?

It swaps + and / for - and _ and drops the = padding, so the result can go in a URL. JWTs use this form.

More tools