Hex to Binary Converter
Convert hex numbers to binary instantly, at any size. Everything runs in the browser.
About hex and binary
Hexadecimal is base 16 — digits 0–9 then a–f. One hex digit is exactly four bits, so bytes read as tidy two-digit pairs. Colors, memory addresses and hashes are all conventionally written in hex with a 0x prefix.
Binary is base 2 — every digit is a bit, 0 or 1. It is what hardware actually stores, and it surfaces anywhere bit flags, masks or permissions do. Code usually writes it with a 0b prefix.
For example, hex 7c3aed is 11111000011101011101101 in binary. The converter uses BigInt, so numbers of any size convert without losing precision, entirely in the browser.
More number base converter pages
Related tools
Case Converter
Convert text between UPPERCASE, camelCase, snake_case, kebab-case, slugs and more.
Whitespace & Line Tools
Trim whitespace, collapse spaces, dedupe and sort lines, remove line breaks.
Encode, Decode & Format
Format and minify JSON, encode and decode Base64, URLs and HTML entities.
Cron Expression Explainer
Type a cron schedule and get plain English, a field breakdown and the next run times.
Free and open source from Earthling Digital, an independent creative agency. Built with Earthling UI.