Number base converter
Convert numbers between binary, octal, decimal and hexadecimal. Supports 0x, 0b and 0o prefixes and very large values.
Runs in your browser ยท nothing is sentConvert & format
| Binary | 0b11111111 |
|---|---|
| Octal | 0o377 |
| Decimal | 255 |
| Hexadecimal | 0xff |
About this tool
Type a number, pick its base and see it in all four systems at once. Very large numbers work too because the tool uses arbitrary-precision integers.
๐ Your input stays in your browser and is never sent anywhere.
Frequently asked questions
How do I convert hex to decimal?
Choose Hexadecimal as the input base and enter the value, for example ff. The decimal result (255) appears instantly.
What to do next
Found a problem or have a suggestion? Tell us