Number Base Converter
Convert
Enter a number in any base — binary, octal, decimal, or hexadecimal — and instantly see it in all four. Uses arbitrary-precision integers, so very large values convert exactly without rounding. Everything runs in your browser.
—
Binary
Octal
Decimal
Hexadecimal
How to use
- Type a number into the input.
- Select which base your number is written in.
- Read the binary, octal, decimal, and hex results.
- Copy any result with its Copy button.
- Invalid digits for the chosen base show an error.
Frequently asked questions
- How large can the number be?
- Arbitrarily large — conversion uses big integers, so there's no precision loss for huge values.
- Are negative numbers or decimals supported?
- This tool converts non-negative whole numbers. Fractions and signs aren't supported.
- Why is my input invalid?
- It contains a digit that doesn't exist in the selected base (for example, '2' in binary).
- Is hex case-sensitive?
- No. You can type hex digits in upper or lower case; output is shown in uppercase.
Related tools
Number to Words
Spell out any number in English, Korean, or Japanese — for cheques, contracts, or just clarity.
Convert00
CSS Unit Converter
Convert between px, rem, em, pt, vw, vh, and % using your own base font size and viewport.
Convert00
JSON ↔ YAML Converter
Convert JSON to YAML or YAML to JSON — pick the indent and copy the result.
Convert00
Data Size Converter
Convert between bytes, KB, MB, GB, TB — in decimal (1000) or binary (1024).
Convert00
Roman Numeral Converter
Convert between Arabic numbers and Roman numerals from 1 to 3999.
Convert00
Unit Converter
Convert length, weight, temperature, area, volume, speed, and time.
Convert00