Base64 β Tutorial
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 ASCII characters. Itβs commonly used to embed small files (images, fonts) into text formats, send data in URLs, or transport bytes safely through systems that are text-only.
Typical uses
- Embed small images in HTML/CSS/JSON
- Include binary blobs in configuration or environment variables
- Safely transfer bytes through email or URL parameters
Using the Base64 tool
- Text input β Paste text into βText inputβ, then click Encode to get Base64. Use Decode to convert Base64 back to text.
- File input β Drop a file or choose one. The tool reads it in your browser and encodes it to Base64. For large outputs you can use the Download button.
- Output actions β Use Copy output to copy. The download button appears for files and large results.
- History β Last 5 conversions are stored locally. Use Clear history to remove them.
Open the tool: Base64 Encoder / Decoder
Privacy & limits
- All conversions run locally in your browser; no data is uploaded.
- Max file size: 10 MB (to keep memory usage reasonable).
Troubleshooting
- Invalid Base64: Ensure padding with β=β is correct and characters are in the Base64 alphabet.
- Binary decode shows gibberish: The decoded data may be binary. Save it via the download button instead of viewing as text.
- Very large results: Browsers may slow down when rendering huge text. Prefer download for big outputs.