Developer Utilities · runs locally

Base64 Encoder & Decoder

Unicode-safe Base64 for text, entirely in the browser.

Loading the Base64 tool…

The tool runs locally in your browser.

Base64 that survives Arabic and emoji

Base64 is the standard way to carry binary-safe text — inside data URLs, headers, config files and API payloads. The catch is Unicode: naive encoding mangles Arabic and emoji. This tool handles the full round trip correctly.

What you can do

  • Encode any text to Base64
  • Decode Base64 back to readable text
  • Handle Arabic, emoji and mixed-language strings safely
  • Copy the result or download it as a file

How to use it

  1. Paste the text, or paste a Base64 string.
  2. Pick encode or decode.
  3. Copy the output into your code or configuration.

Runs in your browser

Encoding is a local transformation. Nothing is transmitted, which matters when the payload is a token or a fragment of customer data.

Frequently asked questions

Is this URL-safe Base64?
It uses the standard alphabet. For URL-safe variants, replace + and / as your framework requires.

Why did my decoded text come out as mojibake?
The source was probably encoded with a different charset. Re-check how the string was produced.

Can it handle a whole file?
For files, use the Base64 file encoder in the security category — it streams the file as a data URL.