Base64 Encode & Decode

Convert text to and from Base64, with full Unicode (UTF-8) and URL-safe support. Everything runs in your browser — nothing is uploaded.

What Base64 is for

Base64 turns any data into a safe set of 64 plain characters, so binary or special content can travel through systems that only accept text — embedding images in CSS/HTML (data URIs), encoding JSON Web Token parts, attaching files in email (MIME), and stashing small blobs in config. It is an encoding, not encryption: anyone can decode it, so never use it to hide secrets.

Unicode-safe by default

Most quick Base64 snippets break on emoji or accented characters because btoa() only handles Latin-1. This tool encodes your text as UTF-8 bytes first, so café, 日本語 and 🎉 all round-trip perfectly.

Private by design. Conversion happens in your browser — safe for tokens and private text. Nothing is uploaded.

Frequently asked questions

Does this handle emoji and non-English text?

Yes — text is converted to UTF-8 first, so all Unicode round-trips correctly.

What is URL-safe Base64?

It swaps + / for - _ and drops = padding so the string is safe in URLs and filenames.

Is Base64 encryption?

No — it's reversible encoding, not security. Anyone can decode it.

More free tools

Developer tools: URL Encoder, JSON Formatter, Hash Generator, UUID Generator · See all Alienated Tools.