Encode and decode text and files to and from Base64 format easily. This free online tool requires no registration and no software installation. Simply open it in your browser and start using it right away. Results are processed quickly and securely, with all data handled directly in your device.
Base64 Encoder/Decoder
Encode and decode text and files to and from Base64 format easily.
How to use Base64 Encoder/Decoder
Choose Mode
Select encode to convert to Base64 or decode to convert back
Enter Data
Type text or upload a file to encode or paste Base64 to decode
Convert
Click to transform between text file and Base64 instantly
Copy Result
Copy Base64 string or decoded output for APIs and CSS data URIs
When to use?
API Development
Encode JSON payloads to Base64 for testing REST APIs
Email Attachments
Convert small images to Base64 data URIs for HTML emails
CSS Data URIs
Convert icons to Base64 so they load without extra HTTP requests
Frequently Asked Questions
A: Base64 is encoding not encryption. Anyone can decode it.
A: Base64 increases size by about 33% because it uses printable characters.
A: Yes any file type can be encoded including images PDFs and ZIPs.
Related Tools
Password Generator
Generate secure passwords with customizable length and characters.
Color Palette Generator
Generate random color palettes for your design projects.
Aspect Ratio Calculator
Calculate image dimensions based on aspect ratios.
QR Code Generator
Create QR codes for URLs, text, WiFi, and contact information.