Base64 Encoder/Decoder
Encode text or files to Base64 and decode Base64 strings back to original format.
Encode text and files to Base64 or decode Base64 strings back to their original format with our free online tool. Essential for embedding images in HTML/CSS as data URIs, transmitting binary data in JSON or XML, handling email attachments, and working with APIs. Upload files directly to encode them, or paste Base64 strings to decode and preview the result. Supports URL-safe Base64 encoding for tokens and query parameters.
Drag & drop files here
or browse files
Upload any file to convert to Base64
Max 10MB
Features
How to Use Base64 Encoder/Decoder
Enter Text
Paste text or upload file
Convert
Encode or decode
Copy
Use the result
Frequently Asked Questions
Base64 encodes binary data into ASCII text using 64 characters. It is used to transmit data in formats that only support text, like email or URLs.