← Back to All Tools
Base64 Encoder/Decoder
Convert plain text to Base64 format or decode Base64 strings back to plain text. Also supports file encoding.
Plain Text
Base64
Drag & drop your file here
or click to browse
Base64 Encoded File
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used when binary data needs to be stored or transferred over media designed to handle text.
Common Uses
- Embedding images in HTML/CSS
- Sending binary data in JSON
- Email attachments (MIME)
- Storing complex data in cookies
- Basic authentication headers
URL-Safe Base64
Standard Base64 uses '+' and '/' characters which need to be URL-encoded. URL-safe Base64 replaces these with '-' and '_' for safer use in URLs and filenames.