Update your browser or use a current version of Chrome, Edge, Firefox or Safari.
A number base determines how many digit symbols are available before place values carry. Binary uses 0 and 1, decimal uses ten digits, and hexadecimal adds A through F for values ten through fifteen. The represented quantity stays the same.
Each position represents a power of the input base. Binary 11111111 equals 255 in decimal because its set bits add 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1. The same value is FF in hexadecimal.
Hex maps neatly to binary because one hexadecimal digit represents four bits. Developers use it for colors, byte values, bit masks, memory addresses, Unicode code points, and compact binary diagnostics.
JavaScript Number uses floating-point representation and cannot distinguish every integer beyond 9,007,199,254,740,991. This converter parses and formats integers with BigInt, preserving arbitrarily large digits within available browser memory.
Bases 2 through 36 using digits 0–9 and letters A–Z. Input letters are case-insensitive and output uses uppercase.
No. This tool deliberately handles exact integers, including negatives. Fractional base conversion needs separate rounding and repeating-digit controls.