Base64 to Binary Converter

Decode Base64 data into binary code. View every byte in 8-bit binary, hexadecimal and decimal formats.

Enter Base64 data

Paste your Base64-encoded string below. You can include spaces and line breaks. Standard and URL-safe Base64 formats are supported.

What is Base64? Base64 represents binary data using a set of 64 printable characters. This converter decodes that representation and displays the original bytes as binary numbers.

How to convert Base64 to binary

  1. Paste a Base64-encoded string into the input field.
  2. Click the Convert Base64 to Binary button.
  3. The converter decodes the Base64 data into its original bytes.
  4. Each byte is converted into an 8-bit binary representation.
  5. Review the complete binary output and the byte-by-byte table.
  6. 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
Final binary output
01001000 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

Verify that these related URLs exist on Binarios.org before publishing.