Number Base Converter

Convert between binary, octal, decimal, hexadecimal and any base from 2 to 36, with big numbers.

Type a number and the results update as you type.

Binary (base 2)
Octal (base 8)
Decimal (base 10)
Hexadecimal (base 16)
Custom

How this converter works

Pick the base your number is written in, type it, and the tool rewrites it in binary, octal, decimal, hexadecimal and any custom base from 2 to 36 at the same time. Parsing uses JavaScript BigInt, so there is no 53-bit ceiling: a 256-bit hash, a 64-bit database ID or a 100-digit decimal converts exactly, digit for digit. Prefixes such as 0b, 0o and 0x are accepted when they match the chosen base, underscores and spaces are ignored as separators, and a leading minus sign is carried through to every output. Digit grouping is a display option only; the copy buttons still copy the grouped text you see.

Quick reference: 0–16

DecimalBinaryOctalHex
0000
1111
21022
31133
410044
510155
611066
711177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F
16100002010

Notes and tips

Privacy

Conversion happens in your browser with no server involved. Nothing you type is uploaded or stored, and the page keeps working offline once loaded.