Comfort

Comfort

Three dials, four switches. Set once, remembered on this device only.

60%
10 or below holds everything still. 100 = full physics. Collisions still land within 50 ms.
0%
Starts at 0. Unlocks on your first tap, never on its own.
75%
Strength of the six inks. 0 is grey. Each chip's name is in its label.

Base64 encoder and decoder

Encode or decode Base64 and base64url, for text or whole files. Decode a JWT, flip URL and HTML escapes, or generate a hash. Everything runs on this page, nothing is uploaded.

UTF-8 safe. Emoji, accents and every script round trip correctly, because this reads your text as bytes first instead of handing it straight to the browser's built in encoder, which only understands Latin-1 and breaks on anything above it.

How Base64 encoding works

Base64 turns any bytes, text, an image, a whole file, into a string made only of letters, digits, +, / and padding =, so it can travel safely through places that only trust plain text, like JSON, a URL, or an email. It works by grouping the data into chunks of 3 bytes (24 bits) and re splitting those 24 bits into four 6 bit pieces, each one mapped to one of 64 safe characters. That is also why the output is always about a third longer than the input, 3 bytes in becomes 4 characters out.

The most common way this breaks is text. The browser's built in btoa and atob only understand Latin-1, one byte per character, so the moment your text has an emoji, a flag, Bangla, Arabic or almost any script outside basic Western European letters, btoa throws an error or silently mangles it. This tool reads your text as UTF-8 bytes first with TextEncoder, encodes those bytes, and reverses the same two steps to decode, so every script and every emoji round trips exactly.

Base64url is the same idea with two characters swapped so the result is safe to put straight into a URL or a filename without further escaping: + becomes -, / becomes _, and the trailing = padding is dropped entirely since the length alone is enough to decode it. JSON Web Tokens use base64url for exactly this reason, which is why pasting a real token into a plain Base64 decoder usually fails partway through.

Related tools

Everything here runs in your browser. Nothing you type, paste or upload is sent anywhere or stored.