Base64 Encode / Decode

Auto-detects whether to encode or decode. Supports URL-safe Base64, MIME line breaks, and file-to-Base64 data URIs. Your data never leaves your device.

Auto-detect

Frequently Asked Questions

Can I encode files to Base64, not just text?
Yes. Switch to file mode to encode any binary file (images, PDFs, etc.) to Base64 or decode Base64 back to a downloadable file.
What is Base64 used for?
Encoding binary data for transmission in text-based systems like email (MIME), JSON APIs, CSS data URIs, and authentication tokens.
Is this tool free to use?
Yes, completely free. No account, no subscription, no hidden limits.
Are my files safe? Do you upload them?
Your files never leave your device. All processing runs locally in your browser using JavaScript — nothing is sent to any server.
Does it work on mobile?
Yes, it works on all modern browsers including mobile Safari and Chrome on iOS and Android.