dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Tool to convert to hexadecimal base (base 16) or from hexadecimal base. Numbers written in hexa use digits from 0 to 9 and letters from a to f.

Answers to Questions

How to write a number in base 16?

For complete explanations on how to convert from base 10 to base 16, see the base-N conversion tool.

Example: 123 in base 10 is written 7b in base 16

How to convert an hexadecimal number

For complete explanations on how to convert from base 16 to base 10, see the base-N conversion tool.

Example: 123 in base 16 is written 291 in base 10

How to recognize hexadecimal numbers?

The hexadecimal numbers can have letters from a to f.

In computing, it is usual to display a prefix 0x in front of the numbers to indicate that they are in base 16.

Example: 0x12 indicate that 12 is written in hexa (hexadecimal system)

Ask a new question

Source code

dCode retains ownership of the source code of the script Hexadecimal (Base 16) online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. So if you need to download the online Hexadecimal (Base 16) script for offline use, check contact page !