Convert text to and from Base64 with full Unicode support.
Updated
Encode text to Base64 or decode Base64 back to readable text, with full Unicode (UTF-8) support. Conversion happens entirely in your browser.
Runs entirely in your browser — nothing is uploaded.
Base64 is a way of writing binary data using only 64 printable characters, letters, digits, plus, and slash, with equals signs for padding. It exists so that arbitrary bytes can travel safely through systems built for plain text, such as email, JSON, URLs, and HTML attributes. It is an encoding, not encryption: anyone can reverse it instantly, so it hides nothing. Encoded output is about a third larger than the input. This tool converts text in both directions live as you type, entirely in your browser. When encoding, it first turns your text into UTF-8 bytes, so emoji and non-English scripts round-trip correctly rather than being corrupted. When decoding, it accepts the standard alphabet and tolerates missing padding, but not the URL-safe variant that swaps plus and slash for hyphen and underscore. It works on text only; to encode an image as a data URI, use the separate image to Base64 tool.
Yes — encoding uses UTF-8, so emoji and any Unicode characters convert correctly.
No. Base64 is an encoding, not encryption — anyone can decode it, so never use it to protect secrets.
No, this tool handles text only. To turn an image into a Base64 data URI for embedding in HTML or CSS, use the separate Image to Base64 tool, which reads the file in your browser and produces the complete data URL.