ToolGenie

Base64 Encode / Decode

Encode and decode Base64 text.

Loading tool…

How to use Base64 Encode / Decode

  1. Choose Encode or Decode, then paste your text or Base64 string.

  2. Switch on URL-safe if you need the base64url alphabet used by JWTs.

  3. Copy the result, or download it as a text file.

Frequently Asked Questions

Does it handle accents and emoji?

Yes. Text is encoded as UTF-8 before Base64, so accented characters, Chinese text and emoji all round-trip correctly — unlike the classic btoa() function.

What is URL-safe Base64?

The base64url alphabet replaces + and / with - and _ and drops the padding, so the value can sit in a URL or a JWT without being escaped.

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect passwords, API keys or personal data.

Related tools

Looking for something else? Browse all developer tools.