Enter Base64 data
Paste your Base64-encoded string below. You can include spaces and line breaks. Standard and URL-safe Base64 formats are supported.
How to convert Base64 to binary
- Paste a Base64-encoded string into the input field.
- Click the Convert Base64 to Binary button.
- The converter decodes the Base64 data into its original bytes.
- Each byte is converted into an 8-bit binary representation.
- Review the complete binary output and the byte-by-byte table.
- Copy the decoded text, binary output or hexadecimal representation.
Example: Base64 to binary conversion
Consider the Base64 string SGk=, which represents
the text Hi.
| Character | Decimal | Hexadecimal | Binary |
|---|---|---|---|
| H | 72 | 48 | 01001000 |
| i | 105 | 69 | 01101001 |
Base64 decoding reconstructs the original bytes. The binary representation is then generated from each byte, rather than converting the Base64 characters themselves.
Understanding Base64 encoding
Base64 is an encoding method that represents binary data using
64 characters: uppercase letters, lowercase letters, digits,
and two additional symbols. The standard Base64 alphabet uses
+ and /, while URL-safe Base64 uses
- and _.
During Base64 decoding, groups of encoded characters are transformed back into the original bytes. Those bytes can represent ordinary text, images, documents, or other binary data.
Every byte contains eight bits. For example, the letter H has
decimal value 72, hexadecimal value 48, and binary representation
01001000.
Frequently asked questions
What does a Base64 to binary converter do?
It decodes Base64-encoded data into its original bytes and displays each byte as an 8-bit binary number.
Does this tool support UTF-8 text?
Yes. When the decoded bytes form valid UTF-8, the converter displays the readable text alongside the binary output.
Can I decode Base64 without padding?
Yes. The converter automatically restores missing padding when the input length is valid.
What happens if the decoded data is not readable text?
The converter still displays the binary and hexadecimal bytes. It identifies the output as non-UTF-8 instead of displaying potentially corrupted text.
Is Base64 the same as binary?
No. Base64 is a textual encoding of binary data. A Base64 string represents the original bytes, but its characters are not the same as the binary representation of those bytes.
Related binary and encoding tools
- Binary to Base64 Converter
- Binary to Text Converter
- Text to Binary Converter
- UTF-8 to Binary Converter
- ASCII to HEX Converter
- Hex to ASCII Converter
Verify that these related URLs exist on Binarios.org before publishing.