# Hex decode and encode – hex decoder

Hex Decoder, is a easy to use tool start by typing or searching file, and click on convert to decode. After decoding, you can copy or save data as a txt file. This website also contain tutorial on how to decode or encode hex in different programming languages like PHP, Go, Java, Javascript, and Python.

Hexadecimal notation uses sixteen symbols to represent sixteen numerical values. Since, the decimal numbering system provides only ten digits (0 through 9), six additional symbols are used by hexadecimals A, B, C, D, E and F. Hexadecimals are widely used for denoting errors and in data transmission also.

### Basics – Binary, ASCII and Decimal

Computers do not actually work in hex, it always works on binary, then why we use hexadecimal numbers, two reason behind this.

It gives a more human-friendly representation, which is far more simpler then representing something in binary numbers. For small binaries we can use decimals, but big ones have quite large decimals you can see it in a given example. Hex take less space and having human-friendly output, that’s why used for denoting errors.

Decimal: 10995
Octal: 25363
Binary: 0010 1010 1111 0011

Second and the main, also used for encoding because some portal works on (ASCII only) scheme, so its difficult to work with (non-ASCII) characters because they take much space (More than 8 bits), at this time schemes like hex or base64 take place, basically they convert all non-ASCII character into ASCII ones (Hex ASCII string), now data can be transferred through (ASCII only portal) and on the receiver side hex gets decoded, now receiver can read it.