Base64 Encoder / Decoder

UTF-8 safe Base64, not the broken btoa(input) shortcut.

Result

Base64SGVsbG8sIERldlByb3M=
UTF-8 bytes14
Base64 length20

Base64 Encoder / Decoder - FAQs

Is Base64 encryption?

No. It is an encoding: anyone can decode it. Use it for transport, never for secrets.

Why does btoa fail on emoji?

btoa only accepts Latin-1. This tool encodes to UTF-8 bytes first, so emoji and accents round-trip.

Need a Custom Tool Built?

We build calculators, estimators and internal tools for businesses in the UK and North America.

Get a Quote

Embed this Base64 Encoder / Decoder on your site

Free to use - paste this snippet into any webpage. It auto-resizes and includes a small attribution link. Add ?theme=dark to the iframe URL for dark mode.

Need help? See the embed guide for WordPress, Webflow, Squarespace & more.