HomeBase64 Encoder / Decoder
Bidirectional · Tool matrix

Base64 Encoder / Decoder

Encode text to Base64 or decode a Base64 string back to text — instantly, fully in your browser.

How to use it

Encode or decode in one step.

01

Paste either side

Plain text on the left encodes to Base64; a Base64 string on the right decodes back to text.

02

Watch it update live

No “convert” button — the result fills in as you type or paste.

03

Copy the result

One click copies whichever box you need — paste it straight into your code, email or API call.

Where this comes up

Common uses for Base64.

FAQ

Base64, explained.

What is Base64 used for?
Base64 turns arbitrary binary data into plain ASCII text, so it can safely travel through systems that only handle text — email attachments, embedding images in CSS/HTML, or passing data in a URL.
Is Base64 encryption?
No. Base64 is an encoding, not an encryption — anyone can decode it instantly with a tool like this one. Don’t rely on it to keep anything secret; for that, you need real encryption, not an encoding scheme. (The Caesar Cipher on this site is also for learning, not real security.)
Why does my Base64 output end with = signs?
Base64 groups input into 3-byte chunks and encodes each as 4 characters. When the input length isn't a multiple of 3, one or two trailing = characters are added as padding to complete the last group.
Can I Base64-encode a whole file, not just text?
This tool works on text you type or paste. The same Base64 algorithm applies to any binary file (images, PDFs, etc.) — conceptually identical, just operating on raw bytes instead of characters.