Skip the island and read the website

Base64 Encoder & Decoder — UTF-8 Safe

← Circuit CoveThe Creative Island · Island 08

Encode text to Base64 or decode it back — Unicode-safe, so Bangla and emoji survive the round trip.

How to use this tool

  1. Choose Encode (text → Base64) or Decode (Base64 → text).
  2. Type or paste your input.
  3. Press Convert — use Use output as input to reverse the operation in one click.

Example

Encode: Hello, Island!SGVsbG8sIElzbGFuZCE=. Decode it back and you get the original — even with Bangla text or emoji, because the tool is UTF-8 safe.

The formula

Base64 = btoa(utf-8 bytes of text); text = utf-8 decode of atob(Base64)

What the result means

Base64 represents any byte sequence using 64 safe characters (A–Z, a–z, 0–9, +, /) — built for systems that only handle plain text, like data-URI images, email attachments and JSON web tokens. Output grows ~33% larger than the input: 3 bytes become 4 characters.

Frequently asked questions

Why is Base64 not encryption?

Because anyone can decode it instantly — it's an encoding, not a secret. 'Base64 hiding' is security by obscurity and protects nothing.

Why did my decode fail?

Base64 must contain only its alphabet and optional = padding, and (usually) a length divisible by 4. Line breaks are tolerated; stray characters are not.

Does it handle Bangla and emoji?

Yes — the tool encodes through UTF-8 bytes first, which is the correct method. Naive btoa() on non-ASCII text is exactly the bug this avoids.

Is my text uploaded?

No — encoding happens entirely in your browser.

More tools from Circuit Cove

Explore the island world

Comments