Skip to content
Devtoolry

Base64 Encode / Decode

Encode text to Base64 or decode Base64 to text with full UTF-8 and URL-safe support.

About the Base64 Encode / Decode

Base64 represents binary data with 64 printable characters so it can travel through text-only channels such as JSON, URLs and email. This tool encodes and decodes it with full UTF-8 support.

Everything runs in your browser, so your input is never uploaded to a server.

How to use the Base64 Encode / Decode

  1. Choose Encode or Decode.
  2. Paste your text or Base64 string.
  3. Turn on URL-safe (Base64URL) for tokens and URLs, then copy the result.

Frequently asked questions

What is Base64URL?

A variant that uses - and _ instead of + and / and usually drops = padding, so the value is safe in URLs and file names. JWTs use it.

Is Base64 encryption?

No. Anyone can decode Base64; it is an encoding, not a way to protect data.