Base64 Encoder / Decoder

Convert text or files to Base64 and back, with full UTF-8 support, URL-safe output and data URIs. Files are read locally with the File API and never leave your device.

Runs locally · nothing uploaded

How to use the Base64 Encoder / Decoder

  1. 1

    Choose Encode or Decode.

  2. 2

    Type or paste text. Turn on URL-safe for Base64URL output (used in JWTs and URLs).

  3. 3

    To convert a file, choose or drop it, then copy the Base64 string or the full data URI.

What happens to your data

Text and files are encoded in your browser; files are read with the File API and never uploaded.

Frequently asked questions

Does it handle emoji and non-English text?

Yes. Text is encoded as UTF-8 before Base64, so emoji and every language round-trip correctly.

What is Base64URL?

A variant that replaces + and / with - and _ and drops padding, so the result is safe in URLs and file names. The decoder accepts both forms.

Is Base64 encryption?

No. Base64 is an encoding that anyone can reverse. Don't use it to protect secrets.