Free Base64 Encoder and Decoder

Encode and decode Base64 with full Unicode support, or turn a file into Base64.

Runs in your browser. Nothing you type is uploaded.

How to use the Base64 Encoder

  1. Choose encode, decode or file to Base64.

  2. Type or paste your text, or pick a file up to 5 MB.

  3. Copy the result from the output panel.

Questions

Is Base64 a form of encryption?

No. Base64 is an encoding that anyone can reverse. Do not use it to hide passwords or private data.

What is URL safe Base64?

It replaces + with - and / with _ and usually drops the = padding, so the result can sit in a URL or file name without extra escaping. It is also called base64url.

Why is the Base64 bigger than my file?

Base64 turns every 3 bytes into 4 characters, so the output is about a third larger than the input.

More developers tools

View all tools