Number Base Converter for Binary, Decimal & Hex
Convert whole numbers across common programming bases without sending values to a server.
A number base converter translates the same integer into binary, octal, decimal, and hexadecimal forms.
It is useful for programming, debugging, docs, and data cleanup.
Pick the source base first
A value like 101 can mean different things in binary, decimal, or hex.
Use integers
This tool focuses on whole-number conversions, not floating-point notation.
Try a common integer
Valid integer input.
Binary
Base 2
0b11111111
Octal
Base 8
0o377
Decimal
Base 10
255
Hex
Base 16
0xFF
Suggested workflow
Encoding and conversion workflow
Convert numeric bases, then encode text or generate fingerprints when preparing developer notes.
Related tools
Related conversion tools
Which number bases are supported?
The converter supports binary, octal, decimal, and hexadecimal integers.
Can I use prefixes like 0x or 0b?
Yes. Hexadecimal can use 0x, binary can use 0b, and octal can use 0o.
Does conversion need a backend?
No. Integer parsing and conversion run locally in the browser.
Does it support fractions?
No. This tool focuses on whole-number integer conversion.