Base64 Encoder / Decoder

Encode or decode Base64 text, and convert files and images to and from Base64 data-URIs. Everything runs locally in your browser.

Sponsored
Sponsored

Frequently asked questions

Is Base64 encryption?

No. Base64 is an encoding, not encryption — it's fully reversible by anyone. Never use it to protect passwords or sensitive data; use it only to make binary data text-safe.

What is URL-safe Base64?

Standard Base64 uses + and / which have special meaning in URLs. URL-safe mode replaces them with - and _ and removes = padding, so the string can be used directly in URLs and filenames.

Are my files uploaded?

No. Files are read locally with the browser's FileReader and encoded on your device. Nothing is sent to any server, so it's safe for private files.

Can I decode a data-URI back into an image?

Yes. Paste a data: URI (or raw Base64) into the decode box and the tool reconstructs the file, previews it if it's an image, and gives you a download link.

About Base64