Number base converter
Convert between binary, octal, decimal, hex and any base 2–36 — big-integer precise. Runs in your browser.
Runs 100% in your browserHow to convert number bases
- Pick the input base. Tell it whether your number is binary, decimal, hex, etc.
- Enter the number. Type the value; all bases update live.
- Copy a result. Grab any representation you need.
About number bases
Programmers move between bases constantly — hex for colors, memory addresses and byte values, binary for bitmasks and flags, decimal for everything else. This converter uses arbitrary-precision integers so even large 64-bit values convert exactly, and it covers any base from 2 to 36 for niche encodings.
Frequently asked questions
- Binary (2), octal (8), decimal (10) and hexadecimal (16) are shown directly, plus any custom base from 2 to 36. Choose the base your input is written in.
- Yes — it uses arbitrary-precision integers (BigInt), so 64-bit values and beyond convert exactly without rounding.
- Yes, a leading minus sign is handled. Fractional/decimal points are not — it converts whole integers.
- Yes — conversion runs entirely in your browser.