Base64 Encoder & Decoder

Encode any text to Base64, or decode a Base64 string back to plain text. Full Unicode support and an optional URL-safe format.

Base64 Encoder / Decoder

How to use the Base64 Encoder

  1. Choose to encode or decode.
  2. Paste your text or Base64 string.
  3. Press "Convert" and copy the output.

About this tool

Base64 turns binary or text data into a set of 64 safe characters (A-Z, a-z, 0-9, + and /). It is widely used in email attachments, data URLs, API tokens and configuration files.

Base64 is an encoding, not encryption. Anyone can decode it, so never use it to hide passwords or secrets. Text is handled as UTF-8, which means emoji and non-English characters round-trip correctly. The URL-safe option swaps + and / for - and _ and drops the = padding, which is used in JWTs and links.

Frequently asked questions

Is Base64 encryption?

No. It is a reversible encoding and gives no security.

Why does Base64 end with = signs?

The = characters are padding that fill the last group of characters.

What is URL-safe Base64?

A variant that uses - and _ instead of + and /, so the string can be used safely in URLs.