Base64 Encode / Decode

UTF-8-safe Base64 encoding and decoding in the browser.

Quick answer: Encode and decode Base64 strings online safely. Fully supports UTF-8, Emoji, and international characters. Local, private, and fast Base64 converter.

UTF-8 safe — processed locally

Encode text to Base64 or decode Base64 back to text — with correct handling of emoji and international characters that breaks naive implementations.

How it works

  1. Choose whether you want to Encode text to Base64, or Decode Base64 back to text.
  2. Paste your string into the input field.
  3. The engine immediately processes the text, correctly handling complex UTF-8 characters and emojis.

Frequently asked questions

Why does the standard Javascript "btoa" fail on emojis?

The native btoa function only handles Latin-1 strings. Unicode characters must be UTF-8 encoded into bytes first — a step this tool does automatically.

Is Base64 considered encryption?

No. Base64 is merely a data encoding format, which is trivially reversible by anyone. Never use it to protect passwords or secrets.

Why does encoded Base64 text often end with an "=" sign?

It is padding. Base64 processes data in 3-byte groups. The equals sign pads the final block when the input length isn't a clean multiple of 3.

More in Developer Tools