passgen
Developer

Base64, both ways.

Paste text to encode or Base64 to decode. Handles emoji and every language via UTF-8.

Mode
Options
Base64

How it works

Text is converted to UTF-8 bytes before encoding, so non-English characters and emoji round-trip correctly. The URL-safe option uses the Base64URL alphabet (- and _ instead of + and /) and drops padding, as used in JWTs and URLs.

Base64 is an encoding, not encryption — anyone can decode it.

FAQ

Why does decoding fail?

The input must contain only Base64 characters. Whitespace is ignored and missing padding is added automatically, but other characters, or bytes that aren't valid UTF-8 text, produce an error.

Is Base64 secure?

No. It only changes how data is represented. Never use it to hide passwords or secrets.

More tools

UUID Generator

Random v4 or time-ordered v7 UUIDs, one or a thousand at a time.

In-browser

JWT Decoder

Read a JSON Web Token's header, payload and expiry.

In-browser

QR Code Generator

QR codes for links, text or Wi-Fi — download as PNG or SVG.

In-browser