Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal and any base.
Loading the tool on your device…
Type a whole number written in one base and read it in binary, octal, decimal, hexadecimal and one more base of your choice. Numbers of any length are converted exactly, without rounding.
Updated 7 December 2026 · runs in your browser
How to use it
- Type a number.
- Say which base it is written in.
- Read and copy it in the other bases.
Details
| Bases | 2 to 36 |
|---|---|
| Size | Any length, exact (big integers) |
| Input | Prefixes 0x, 0b, 0o, a minus sign and _ separators |
Questions
Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Does it handle decimals like 3.14?
No, whole numbers only. Fractions often have no exact form in other bases, so they would be rounded.
Related tools
- Colour Converter
Convert colours between HEX, RGB, HSL and OKLCH, and check contrast.
- Hash Generator
Get the MD5, SHA-1 and SHA-256 of text or a file, and check a download.