Hex to Binary Converter

Convert base-16 hex numbers to base-2 binary with no size limit. Free, private and instant: everything runs in your browser.

Hex numbers
Binary result
Result appears here as you type

What does the Hex to Binary Converter do?

To convert hex to binary, enter a base-16 number (digits 0 to 9 and A to F) and the tool returns the base-2 value. For example hex 2A equals binary 101010. Separate several numbers with spaces or new lines to convert them all at once.

How to use the Hex to Binary Converter

  1. 1

    Paste your hex numbers

    Paste or type hex numbers into the input box, open a file from your device, or click Sample to load an example.

  2. 2

    Adjust the options

    Set binary grouping to match what you need.

  3. 3

    Copy or download the result

    Review the binary result on the right, then copy it to the clipboard or download it as a .txt file.

Hex to Binary Converter example

Input
2A FF 0x1F4
Output
101010
11111111
111110100

When to use it

  • •Reading memory addresses, flags and register values while debugging
  • •Homework and exam practice for computer science and digital electronics
  • •Converting permission masks, color channels and protocol fields

Why use this hex to binary converter

  • 100% free, no signup or login
  • Runs locally: your data never leaves the browser
  • Instant results with clear error messages
  • Works on desktop, tablet and mobile
  • Copy to clipboard or download in one click
  • No watermarks and no usage limits

Frequently asked questions

Is there a maximum number size?+

No. The converter uses arbitrary-precision integers, so values like FFFFFFFFFFFFFFFF convert exactly without rounding.

Are prefixes like 0x, 0b and 0o supported?+

Yes. Standard prefixes are stripped automatically, underscores used as digit separators are ignored and negative numbers keep their sign.

Is the Hex to Binary Converter free?+

Yes. The Hex to Binary Converter is 100% free with no signup, no login, no usage limits and no watermark. It works on desktop and mobile browsers.

Is my data uploaded when I use the Hex to Binary Converter?+

No. The Hex to Binary Converter runs entirely in your browser with JavaScript. Nothing you paste or upload is sent to our servers, logged or stored.

Last updated by the Imaginex AI team.