UtilHero

Base64 Encode / Decode

Convert text to Base64 and back — Unicode-safe, in your browser.

Base64 output

About Base64 Encode / Decode

Base64 encoding represents binary or text data as ASCII characters so it can travel safely through systems that expect text. Paste text to encode it, or paste a Base64 string to decode it back to text — with full UTF-8 support, so emoji and non-Latin scripts round-trip correctly instead of throwing the usual btoa errors. It all happens in your browser, so nothing is uploaded.

Frequently asked questions

Does this Base64 encoder support Unicode and emoji?
Yes. Text is encoded as UTF-8 before Base64, so emoji, accents, and CJK characters round-trip correctly — avoiding the 'InvalidCharacterError' that plain btoa() throws on characters above U+00FF.
How do I decode Base64 to text?
Switch to the Decode tab and paste your Base64 string — it's converted back to readable text instantly, in your browser. Invalid Base64 is flagged rather than producing garbage.
Is Base64 encryption?
No. Base64 is reversible encoding, not encryption — anyone can decode it with no key. It makes bytes safe to embed in text; it does not protect secrets, so never use it for passwords or API keys.
Is my text sent anywhere?
No. Encoding and decoding run locally in your browser; your data never leaves your device.