Base64 Encoder & Decoder

Convert text to Base64 and back — UTF-8 safe, instant, and entirely in your browser. Free, no sign-up.

Try an example

Load this into the encoder above, then switch to Decode to convert it back.

Hello, Singapore! UTF-8 works fine: café, 日本語, façade.
Share this tool
X LinkedIn WhatsApp Email
Embed this tool on your website

Free to embed on any site. The snippet keeps an optional credit link (marked nofollow) — appreciated, never required.

When do you use Base64?

Base64 turns up everywhere in web development: inlining small images as data: URIs to save a request, encoding credentials for HTTP Basic Auth, embedding fonts or SVGs in CSS, and moving binary data through JSON or URLs that only accept text. This tool encodes and decodes both directions, safely handling Unicode.

Frequently asked questions

What is Base64 encoding?

Base64 is a way of representing binary or text data using 64 safe ASCII characters. It is commonly used to embed images in CSS/HTML, encode data in URLs and JSON, and send binary data over text-only channels.

Is Base64 the same as encryption?

No. Base64 is encoding, not encryption — anyone can decode it. Never use it to protect passwords or secrets.

Is this Base64 tool safe to use?

Yes. Encoding and decoding happen entirely in your browser — nothing you paste is ever sent to a server.

Does it handle Unicode / emoji / UTF-8?

Yes, the encoder is UTF-8 safe, so accented characters and other Unicode text encode and decode correctly.