Search for a tool

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.

Results

Tag(s) : Arithmetics, Informatics

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Thanks to your feedback and relevant comments, dCode has developed the best 'Hexadecimal (Base 16)' tool, so feel free to write! Thank you!

## Hexadecimal to Base N Converter

### Convert to Text

⮞ Go to: ASCII Code

## Hexadecimal N to Octal Converter

### How to write a number in base 16?

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

Example: $127_{(10)}$ (read 127 in base 10) is written $7f_{(16)}$ (7f in base 16)

Example: $255_{(10)}$ (read 255 in base 10) is written $ff_{(16)}$ (ff in base 16)

### How to convert/write 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 base16 is written 291 in base10

### 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)

## Source code

dCode retains ownership of the online 'Hexadecimal (Base 16)' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Hexadecimal (Base 16)' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Hexadecimal (Base 16)' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Hexadecimal (Base 16)' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!