Encode any text to Base64 or decode a Base64 string back to plain text in one click. Base64 is a way of representing binary or text data using only 64 safe ASCII characters, which is why it shows up everywhere: data URIs, JWTs, email attachments, API tokens and config files. This tool is UTF-8 safe, so emoji and non-Latin characters round-trip correctly instead of turning into garbage. Paste your input, choose encode or decode, and copy the result. Everything is processed locally in your browser, so your tokens and payloads are never sent to a server.
Standard Base64 uses the 64 characters A to Z, a to z, 0 to 9, plus and slash, with the equals sign as padding. Every 3 bytes of input map to 4 output characters.
No. Base64 is a reversible encoding, not encryption. Anyone can decode it back to the original text, so never use it to hide secrets.
It is UTF-8 safe, so it first encodes the text as UTF-8 bytes before Base64 encoding. That means emoji, accents and other Unicode characters round-trip correctly.
Encode any text to Base64 or decode a Base64 string back to plain text in one click. Base64 is a way of representing binary or text data using only 64 safe ASCII characters, which is why it shows up everywhere: data URIs, JWTs, email attachments, API tokens and config files.
Yes. Base64 Encode / Decode is completely free, with no sign-up and no usage limits.
Yes. Base64 Encode / Decode runs in any modern web browser. There is nothing to download or install.
Yes. Base64 Encode / Decode runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/base64)