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

Binary0b11111111
Octal0o377
Decimal255
Hexadecimal0xff

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

Also useful

Found a problem or have a suggestion? Tell us