Explosion Tools

Base64 Encode & Decode Online

Encode text to Base64 or decode Base64 to text. Free, no signup, works in your browser.

Output will appear here…

All encoding/decoding happens in your browser. No data is sent to any server.

About Base64 Encode & Decode

This tool lets you base64 decode any encoded string back to readable text, or encode plain text into Base64 format. Base64 encoding is widely used to embed binary data in JSON payloads, HTML data URIs, email attachments, and API tokens. The encoder handles full UTF-8 input, including emoji and non-Latin characters.

Frequently Asked Questions

What is Base64 encoding?
Base64 converts binary data into ASCII text using 64 printable characters (A-Z, a-z, 0-9, +, /). It's commonly used to embed binary data in JSON, HTML, CSS, and email attachments.
How do I encode text to Base64?
Select 'Encode' mode, paste your text in the input box, and the Base64-encoded output appears instantly. Click 'Copy' to copy it to your clipboard.
How do I decode Base64?
Select 'Decode' mode, paste your Base64 string in the input box, and the decoded text appears instantly. The tool handles standard and URL-safe Base64.
Does it support UTF-8?
Yes. The tool correctly handles UTF-8 text including emoji, accented characters, and CJK characters by encoding to UTF-8 bytes before Base64 conversion.
Is my data sent to a server?
No. All encoding and decoding happens entirely in your browser using JavaScript. Your data never leaves your device.

Related Tools