TVRSK.

Base64 encode / decode

Pick a direction and type or paste. The result updates as you go.

Mode
Variant
text
base64
Converts as you type. ⌘ ↵ copy

How it works

Encoding

Your text is turned into UTF-8 bytes first, so accents, emoji and every language survive the round trip. The bytes are then written with the 64 Base64 characters: A–Z, a–z, 0–9, + and /.

URL-safe

Uses - and _ instead of + and /, and drops the = padding at the end, so the result can go in a web address or a file name. When decoding, both kinds are accepted either way.

Decoding

Spaces and line breaks in the Base64 are ignored. If the bytes inside aren't readable text, for example because they're an image, you'll be told rather than shown garbage.

Base64 is an encoding, not encryption: anyone can decode it. Your text stays in your browser either way.

Questions

Is Base64 encryption?

No. It's a way of writing data with plain letters and digits. Anyone can decode it, so don't use it to hide passwords or secrets.

Why is the Base64 longer than my text?

Base64 uses 4 characters for every 3 bytes, so it's about a third longer. Accented letters and emoji take more bytes, so they grow more.

More in TVRSK.data

tools/data

All tools →

esc

↑ ↓ to move · ↵ to open · esc to close