Base64 Encoder / Decoder

Encode text and files to Base64 or decode Base64 back to text — instantly.

Input · Plain text
Output · Base64
OK
ENCODED
MODE · ENCODESTANDARD

How to use

Type or paste text on the left. The encoded Base64 appears on the right instantly. Switch to Decode to reverse the process.

Enable URL-safe to use the RFC 4648 URL-safe alphabet (- and _ instead of + and /).

Everything runs client-side. You can upload a small text file or download the result.

FAQ

What is Base64?

Base64 is a way to represent binary data as ASCII text using 64 characters, so it can be safely transmitted through text-based systems.

Should I use URL-safe Base64?

Use URL-safe encoding when the value goes into URLs, filenames or headers so that + / and = don’t need escaping.

Is Base64 encryption?

No. Base64 is only encoding — anyone can decode it. Never use it to hide secrets.

Related tools