Base64 Encoder/Decoder
Encode text, files, and images to Base64. Decode them back to files you can download. Generate data URIs for embedding images in HTML or CSS. Drag and drop files. See image previews instantly. Get data URIs with the correct MIME type. URL-safe encoding when you need it. Everything runs in your browser. Your files never touch a server. Works offline after it loads.
Input length: 0 characters
Note:
Base64 encoding converts binary data to ASCII text. It increases data size by approximately 33%. All processing happens in your browser - your data never leaves your device. Maximum recommended file size: 10MB.
How to Use
- Pick a mode: Text, File, Image, or Data URI
- Paste text or drag files to encode
- Click decode to turn Base64 back into files
- Copy as plain Base64 or full data URI
- Download decoded files with the right extension
Frequently Asked Questions
Related Tools
JSON Formatter
Format messy JSON. Validate it. See errors exactly where they are. Export to TypeScript, Python, Java.
URL Encoder/Decoder & Toolkit
Encode URLs. Decode them. Parse them into parts. Manage query parameters without the headache.
Cryptographic Hash & Encoding Toolkit
Hash text and files with MD5, SHA-256, SHA-3, and more. Generate HMACs. Verify file integrity. All in your browser.