Loading…
Data & encoding
Encode and decode Base64 or Base64URL. UTF-8 safe, and files become data URIs.
Runs in your browser — nothing you paste is uploaded
Text is encoded as UTF-8.
SGVsbG8gZnJvbSB0aGUgTGFiISDwn5CJ
Files stay on your device. Up to 2.0 MB — handy for inlining small images and fonts.
Base64 turns binary data into plain text made of 64 safe characters, so it can travel in JSON, URLs, email and data URIs. It is an encoding, not encryption: anyone can decode it.
Base64URL swaps + and / for - and _ and usually drops the = padding, so the result is safe in URLs and file names. JWTs use Base64URL.
The bytes may not be text at all, such as an image or a compressed file. Text is always encoded as UTF-8 here, so emoji and non-Latin scripts round-trip correctly.