Base64 Encoder & Decoder — UTF-8 Safe
Encode text to Base64 or decode it back — Unicode-safe, so Bangla and emoji survive the round trip.
How to use this tool
- Choose Encode (text → Base64) or Decode (Base64 → text).
- Type or paste your input.
- Press Convert — use Use output as input to reverse the operation in one click.
Example
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
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
- Circuit Cove — the island where this tool lives.
- The Main Island — drive the boat, explore the whole world.
- The 90s Kids Island — where most of us started.
Comments
Post a Comment