Encode and decode Base64

Base64 Encoder converts text or a file to Base64 and back. It handles UTF-8 correctly, so emoji and accents survive, and offers the URL-safe alphabet for tokens and query strings.

  • Free
  • No sign-up
  • Runs in your browser
  • Nothing uploaded

Runs entirely in your browser — nothing you enter is uploaded.

How to use Base64 Encoder

Three steps, about a minute.

  1. 1

    Paste your text

    Or drop a file to encode.

  2. 2

    Pick a direction

    Encode or decode; the result updates live.

  3. 3

    Copy it

    Copy the output or download it as a file.

Base64 Encoder questions

Is Base64 encryption?

No — it is an encoding. Anyone can decode it, so never use Base64 to hide a password or a key.

Why does the output end in = or ==?

Padding characters make the length a multiple of four bytes. They can be dropped in URLs if you remove them consistently.

What is URL-safe Base64?

It swaps + and / for - and _ so the string can sit in a URL or filename without percent-encoding.

Other tools