Binary / Decimal / Hex / Octal Converter

Convert one value between hex, decimal, binary and octal simultaneously.

Binary110000001111111111101110
Octal60177756
Decimal12648430
HexadecimalC0FFEE

Runs entirely in your browser — nothing you enter is uploaded.

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

  1. Enter the value and input is.
  2. The result updates instantly, with the working shown underneath.
  3. 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.