Developer tools

Base64 Encode & Decode — free, private, in your browser

Convert text to and from Base64 instantly, with full Unicode support.

This tool runs entirely in your browser. Your files are never uploaded — they stay on your device.

Base64 is a simple way to represent text or binary data using only plain ASCII characters, which makes it handy for embedding data in URLs, JSON, data URIs and config files. This tool converts in both directions and handles full Unicode correctly using UTF-8, so emoji and accented characters survive the round trip.

It runs entirely in your browser. Whatever you paste — including API keys, tokens or private notes — is processed on your own device and never sent to a server.

How to use Base64 Encode / Decode

  1. Choose whether you want to Encode text into Base64 or Decode Base64 back into text.
  2. Type or paste your content into the input box.
  3. The result appears instantly in the output box below.
  4. Click Copy to put the result on your clipboard.

Frequently asked questions

Is my text uploaded to a server?

No. All encoding and decoding happens locally in your browser using built-in JavaScript. Your text never leaves your device, so it is safe for tokens, keys and private data.

Does it handle emoji and accented characters?

Yes. Text is encoded as UTF-8 before being converted to Base64, so Unicode characters such as emoji, é or 日本語 are preserved exactly when you decode them again.

What happens if I paste invalid Base64 when decoding?

The tool shows a short error message instead of garbled output. Check that the input contains only valid Base64 characters (A–Z, a–z, 0–9, + / and = padding).

Is this URL-safe Base64?

It uses standard Base64 (with + and /). If you need URL-safe Base64, replace + with - and / with _ in the output, and strip the trailing = padding.

Related tools