Base64 Encode / Decode
Convert text and files to Base64 and back. Supports UTF-8 and URL-safe encoding.
Input (Text)
Output (Base64)
What is Base64?
Base64 is a binary-to-text encoding that converts binary data into a string of ASCII characters. It's commonly used to embed images in HTML/CSS, send binary data in JSON or XML, encode email attachments, and store binary content in text-based formats. Each Base64 character represents 6 bits of data, making the encoded output about 33% larger than the original.
How to Use
- Choose Encode or Decode mode using the tabs above
- Type, paste, or upload a file in the input panel
- Click the Encode/Decode button (or just type — it converts in real-time)
- Copy the result or download it as a file
- Enable URL-safe mode to use
-and_instead of+and/