About this tool
A four-way converter for the bases programmers use most. Paste a hex value from a debugger or a decimal from a spec and read all four forms.
How to use the Binary / Decimal / Hex / Octal Converter
- Enter the value and input is.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
The value is parsed in the base you select and printed in the other three.
Formula
Positional notation
Frequently asked questions
What is C0FFEE in decimal?
12,648,430.