EditSafely

Convert Hex to Binary

Quickly convert hexadecimal values to binary values.

Runs on your device, nothing uploaded

Width
Group bits
Separator
Try:

0 chars · 0 lines

Output

Quickly convert hexadecimal values to binary values.

Type or paste above to see the result here.

Example: Convert

What you paste never leaves this tab

Convert Hex to Binary is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Convert Hex to Binary

  1. 1. Paste the hexadecimal value. Enter a hex string like a memory address, register value or color code. Separate several values with spaces, commas or new lines; each digit becomes exactly four bits, so 0f gives 00001111.
  2. 2. Choose the width and grouping. Width As written keeps 4 bits per hex digit; pick No leading zeros, or pad to 8, 16, 32 or 64 bits for a register. Group bits spaces the result by 4 or 8 so bit positions are easy to read. One value also shows its decimal and octal forms.
  3. 3. Copy the binary result. Every hex digit expands to four binary digits in order. Copy the result into a bit-level debugger, a homework answer or wherever raw binary is expected.

When to use Convert Hex to Binary

Convert Hex to Binary turns hexadecimal digits into their exact binary equivalent, four bits per digit. Reach for it whenever you have a value written compactly in hex but need to see or manipulate the underlying bit pattern.

  • Checking flag bits in a register. A peripheral's status register reads 0x2A over a debugger and you need to know which individual bits are set. Converting to binary makes each flag position visible at a glance.
  • Teaching or learning number bases. A student working through a computer science course needs to see how hex maps to binary digit by digit, rather than just trusting a calculator's decimal output.
  • Verifying a network packet field. You captured a packet in Wireshark showing a hex field and need the raw bits to check against a protocol spec that defines options bit by bit.

Examples

Convert

Input

a

Output

1010

Keep the byte width

Input

0x0f

Output

00001111

Grouped by nibble

Input

DEADBEEF

Output

1101 1110 1010 1101 1011 1110 1110 1111

About the Convert Hex to Binary tool

Convert Hex to Binary does its work locally, right in the browser. Quickly convert hexadecimal values to binary values. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Hex Tools collection on EditSafely, a set of 108 small, focused Hex utilities that share the same instant, private workspace.

You can shape the output with 4 settings, including Width, Group bits, Separator and Custom separator, and the result refreshes the moment you change one. 3 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Convert Hex to Binary cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.

Related tools

All Hex Tools →