🔢 Number Base Converter
Convert between Binary, Octal, Decimal, and Hexadecimal
Convert between Binary, Octal, Decimal, and Hexadecimal
Developers constantly jump between number bases: networking hex dumps, bit masks, color `0xRRGGBB`, pointer math tutorials, and low-level protocols. This page is a fast converter when mental math is tedious or error-prone.
Convert numbers between binary, octal, decimal, and hexadecimal. Essential tool for developers and students.
Chief Technical Editor
Developers constantly jump between number bases: networking hex dumps, bit masks, color `0xRRGGBB`, pointer math tutorials, and low-level protocols. This page is a fast converter when mental math is tedious or error-prone.
Students use it to verify homework; engineers use it to sanity-check flags and register diagrams without opening a REPL.
Use it alongside documentation that cites hex constants so you can see the decimal value your API actually compares against.
A log shows `0x1F4` as a status mask bit. Converting to decimal (500) clarifies which enum entry documentation refers to.
Quick base conversion prevents subtle off-by-one mistakes in bitwise logic.
Know signed vs unsigned interpretation when crossing bases; two’s complement can surprise you.
Pad bit widths when thinking in fixed-size words (8/16/32/64).
For fractional numbers, this page focuses on integers — use specialized float tools when needed.
Each pair of hex digits is one byte (8 bits), often shown space-separated in dumps.
Sum powers of two for each 1 bit; the tool automates that drudgery.
2, 8, 10, 16 — with 16 dominant for compact bit representation.
JavaScript integers have safe limits; huge values may need bigint-capable workflows.
CSS hex colors map neatly to RGB channels once you split the bytes.
IEEE754 has sign, exponent, fraction — use a dedicated float inspector for teaching that mapping.
Longer explanations that complement this calculator—same privacy-first, editorial tone.
A practical workflow for developers who want readable JSON and fewer “paste into random websites” mistakes.
A straightforward overview of client-side tools, optional Google ads, and how that maps to everyday privacy expectations.
Hex output from hashes is easier to reason about with base conversion fresh in mind.
Explore Tool »