Base64 Encoder / Decoder

Convert text to and from Base64, with URL-safe output and full UTF-8 support for Chinese and emoji. Runs entirely in your browser.

Runs in your browser: input and output are never sent to the server, and the platform does not store your input.

Input

Not stored

Output

Fill in the fields on the left, then run.

How to use

  1. 1Choose encode or decode.
  2. 2Enter your text or Base64 string.
  3. 3Tick URL-safe when the value goes into a URL.

FAQ

Does it handle Chinese and emoji?

Yes. Everything is processed as UTF-8, so Chinese, Japanese and emoji round-trip correctly.

What does URL-safe change?

It replaces + with - and / with _, and drops the trailing = padding, so the value survives being placed in a URL.

Can I encode an image?

This tool handles text. For images, use the conversion and compression tools in the image category.