Binary/Decimal/Hex Converter

Free Test Online

 

 

Binary Numbers Converter

Unsigned Signed

 

Before starting a conversion you have to choose if the numbers are signed or unsigned.

The converter allows you to;

  • convert binary to decimal numbers
  • convert hexadecimal to decimal numbers
  • convert hexadecimal to binary numbers
  • convert binary to hexadecimal numbers
  • convert decimal to hexadecimal numbers
  • convert decimal to binary numbers
  • determine the 2's complement of a binary number
  • shift right a binary number
  • shift left a binary number
  • rotate right a binary number
  • rotate left a binary number.
  • do any of the conversions above for positive and negative numbers.
  • The converter is not designed to convert binary fractions.

     

    This binary converter is written in Javascript. You may add this tool to your website or blog, by following the steps below:

    Step 1: Insert the following Javascript code into the <head> tags of your page:

    Step 2: Insert the following style commands into the <head> tags of your page. This step is optional and the converter will work the same way without these lines. However, if you want to keep the same style as seen on this page, you will need to add the following commands:


     


    Step 3: Insert the following html code into the <body> tags of your page: