Base64 Encode/Decode Tool | Online Converter for Text and Files
Online Base64 encoding and decoding for both text and files
Free online Base64 encoder/decoder for text and files, including URL-safe Base64 conversion for web development, data transfer, and storage.
How to Use
What is Base64 encoding?
Base64 is an encoding scheme that represents binary data using 64 printable characters. It is commonly used to transmit or store binary payloads in text-based systems such as MIME emails, JSON, and XML.
Text Encode/Decode
Use the text tab to convert plain text to Base64 and decode Base64 back to original text.
Text operations
- Encode: enter plain text on the left, click "Encode →" in the middle
- Decode: enter Base64 on the right, click "← Decode" in the middle
- Enable URL-safe mode for web URL scenarios
File Encode/Decode
Use the file tab to encode files to Base64 or decode Base64 back to file.
File operations
- Encode File: upload a file and click "Encode File" to get Base64 output
- Decode to File: paste Base64, decode, then download the generated file
Common use cases
- Embed binary assets in HTML
- Transfer binary data over text-only protocols
- Simple text obfuscation or encoding
- Include binary payloads inside JSON