Skip to content

Base64 encoder / decoder

Encode text to Base64 or decode it back, with full Unicode support.

Paste text to encode it to Base64, or paste Base64 to get the text back. Unicode is handled properly, so Russian, Uzbek and emoji survive the round trip intact — which is where many quick Base64 tools fall over.

How to use it

  1. Choose Encode or Decode.
  2. Paste your text or Base64 into the input box.
  3. Copy the result, or press Swap to run it back the other way.

Why use this tool

Completely private

Everything runs inside your browser. Your files and text are never sent to a server.

Free, with no limits

No sign-up, no watermarks and no cap on how many times you can use it.

Instant results

There is no upload or queue to wait for, so results appear as fast as your device can work.

Works on any device

Runs in any modern browser on phone, tablet or desktop. Nothing to install.

Frequently asked questions

Does it handle Cyrillic and Uzbek text?
Yes. The text is converted to UTF-8 bytes before encoding, so any alphabet round-trips correctly. Many simple tools call btoa directly, which only understands Latin-1 and either throws an error or silently mangles anything else.
What is URL-safe Base64?
Standard Base64 uses + and /, which have special meanings in URLs, and = for padding. URL-safe Base64 replaces them with - and _ and drops the padding, so the result can be dropped into a query string or path unchanged.
Is Base64 encryption?
No, and this matters. Base64 is an encoding, not a cipher — anyone can decode it instantly, as this page demonstrates. Never use it to protect passwords, tokens or personal data.
Why does my Base64 fail to decode?
Usually a stray character from copying, or missing padding. Padding is restored automatically and URL-safe characters are accepted, so what is left is normally whitespace or a truncated string.
Is my text uploaded?
No. Encoding and decoding happen entirely in your browser, so you can safely paste tokens or configuration snippets you would not want to send to a third-party site.

Related tools