# Hexadecimal decoding (hex decoder)

Convert any hexadecimal string into its binary form. If possible the result will be represented as string; otherwise you'll be able to access the decoded value in hex editor.

Notes:

- decoder will ignore any spaces
`, colons`

`:`

, escape sequences`\x`

`0x`

at the start of the string will be removed- one
`0`

will be added to the start of the string when string is not of even length

Sample:

```
77:65:62:61:63:75:73
----- = -----
webacus
```

In mathematics and computer science, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a–f) to represent values ten to fifteen. For example, the hexadecimal number 2AF3 is equal, in decimal, to (2 × 163) + (10 × 162) + (15 × 161) + (3 × 160) , or 10,995. Each hexadecimal digit represents four binary digits (bits) (also called a "nibble"), and the primary use of hexadecimal notation is as a human-friendly representation of binary coded values in computing and digital electronics. For example, byte values can range from 0 to 255 (decimal) but may be more conveniently represented as two hexadecimal digits in the range 00 through FF. Hexadecimal is also commonly used to represent computer memory addresses.^{[1]}

Sources:

[1] en.wikipedia.org/wiki/Hexadecimal