Free Base64 Encoder/Decoder – Encode & Decode Online
Encode and decode Base64 instantly in your browser.
ToolCraftr is a free Base64 encoder and Base64 decoder that converts text, files, and images to/from Base64 format directly in your browser. Perfect for developers working with data URLs, API authentication, and binary data transmission.
Who is this Base64 encoder for?
Web Developers creating data URLs for inline images and assets in HTML/CSS.
API Developers encoding credentials for HTTP Basic Authentication headers.
Backend Engineers handling binary data transmission in JSON payloads.
System Administrators working with config files and encoded certificates.
Key Features
Text Encoding
Convert plain text to Base64 format instantly. Supports UTF-8 and all character encodings.
File Support
Encode any file type - images, PDFs, documents, archives. No file size limits.
Bidirectional
Both encode to Base64 and decode from Base64 with automatic format detection.
Instant Results
Real-time conversion as you type. No waiting, no page refresh needed.
Copy & Download
One-click copy to clipboard or download encoded/decoded results as files.
100% Private
All processing happens in your browser. No data is uploaded to servers.
Understanding Base64
Base64 encodes binary data using 64 ASCII characters (A-Z, a-z, 0-9, +, /). Each 3 bytes of input becomes 4 characters of output, increasing size by ~33%.
Common uses include data URLs (embedding images in CSS/HTML), JWT tokens, email attachments (MIME), and transmitting binary data in JSON/XML where binary data isn't supported.
Common Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that converts binary data into an ASCII string format. It's commonly used to encode data for transmission over media designed to handle text, such as email attachments and data URLs.
When should I use Base64?
Use Base64 when you need to embed binary data in JSON/XML, create data URLs for images in HTML/CSS, encode credentials for HTTP Basic Auth, or transmit binary data through text-based protocols.
Can I encode files and images?
Yes! Our tool supports encoding any file type including images, PDFs, documents, and more. Simply upload the file and get the Base64-encoded result instantly.
Is my data stored?
No. All encoding and decoding happen entirely in your browser using JavaScript. We do not upload, store, or log any of your data to our servers. Your data never leaves your device.
Ready to encode/decode?
No sign-up, no installation. Start encoding and decoding Base64 now.