🔒

Base64 Encoder / Decoder

Encode plain text to Base64 or decode Base64 back to text — instantly, locally.

Encode a file:

How it works

1
Choose mode
Toggle between Base64 encode and decode using the mode switch at the top.
2
Enter your data
Paste a plain text string, binary-safe data or an existing Base64 encoded string into the input field.
3
Instant conversion
The result appears immediately using the browser's native btoa() and atob() functions with full UTF-8 multi-byte character support.
4
Copy the output
Click Copy to put the encoded or decoded result on your clipboard — ready to use in your code, config file or API request.

Frequently Asked Questions

Is the Base64 Encoder free?

Yes, completely free. No account, no limits.

Is my data sent to a server?

No. Encoding and decoding use the browser's native btoa() and atob() functions — everything stays local.

Does it support Unicode characters?

Yes. The tool handles multi-byte UTF-8 characters correctly, unlike raw btoa() which fails on non-Latin characters.

What is Base64 used for?

Embedding images in HTML/CSS, encoding binary data in JSON APIs, storing small files in databases and encoding email attachments (MIME).