Base64 Converter
Convert text to and from Base64 encoding
Base64 Converter
Convert text to and from Base64 encoding
Input (Text/File)
Output (Base64)
About Base64 Encoding
Base64 encoding is a method for converting binary data into text format using a specific set of 64 characters. This encoding scheme is commonly used for transmitting data over media that handle text, ensuring data integrity during transport.
- Uses 64 printable ASCII characters for encoding
- Essential for email attachments and web data transmission
- Converts binary data to text-safe format
- Reversible - can encode and decode data
- Widely supported across programming languages
How to Use Base64 Converter
- Enter your text - Type or paste the text you want to convert to Base64
- Click Encode - Convert your text to Base64 encoded format
- Copy result - Copy the Base64 encoded string to your clipboard
- Decode Base64 - Paste Base64 text to convert back to original text
Frequently Asked Questions
What is Base64 used for?
Base64 is used to encode binary data into a text format that can be safely transmitted over text-based protocols. It is commonly used for embedding images in HTML or CSS, encoding email attachments, transmitting data in APIs, and storing binary data in JSON or XML.
What is 100 in Base64?
The number 100 encoded in Base64 is "MTAw". Base64 encoding converts each character of the input text into its corresponding Base64 representation using the standard Base64 alphabet of 64 characters.
How do I convert Base64 to image?
To convert Base64 to an image, paste the Base64 encoded string into a Base64 decoder tool. The tool will decode the string back into the original binary image data. You can also use the data URI format (data:image/png;base64,...) directly in HTML img tags or CSS background properties.
Are online Base64 converters free?
Yes, most online Base64 converters including utilAZ are completely free to use. There are no hidden charges, no sign-up required, and no file size limits. The conversion happens instantly in your browser for maximum privacy and speed.
Can I use a Base64 converter on mobile (iPhone/Android)?
Yes, you can use the utilAZ Base64 converter on any mobile device including iPhone and Android. The tool is fully responsive and works in any modern mobile browser such as Safari, Chrome, or Firefox without needing to install any app.
Common Use Cases
- Email attachment encoding
- Web API data transmission
- HTML/CSS image embedding
- JSON data encoding
- Authentication tokens
- Database binary storage
- Configuration file encoding
- Cross-platform data exchange
Technical Details
How Base64 Works:
- Character Set: Uses A-Z, a-z, 0-9, + and / (64 characters total)
- Padding: Uses = characters for padding when needed
- Encoding Process: Groups input into 3-byte chunks, converts to 4 Base64 characters
- Standards: Defined in RFC 4648 specification
Programming Examples
JavaScript:
// Encode
const encoded = btoa("Hello World");
console.log(encoded); // SGVsbG8gV29ybGQ=
// Decode
const decoded = atob("SGVsbG8gV29ybGQ=");
console.log(decoded); // Hello World
Python:
import base64
# Encode
encoded = base64.b64encode(b"Hello World")
print(encoded) # b'SGVsbG8gV29ybGQ='
# Decode
decoded = base64.b64decode(encoded)
print(decoded) # b'Hello World'
