# Binary to hex

This converter converts the binary to hexadecimal by default, enters the binary number, then clicks the **Convert Now** button, and you can also select other base numbers(8 10 16 32 36 58 64) for conversion. Hex to binary

To base | Conversion result | Description |

16 | ||

Other conversions: | ||

8 | ||

10 | ||

26 | Lower case letters | |

32 | Does not contain ILOU characters | |

36 | Number + lowercase | |

52 | Uppercase letters + lowercase letters | |

58 | Does not contain 0OlI characters | |

62 | Number + lowercase + uppercase | |

64 |

The range of safe integers specified in js is -2^53~2^53, so the number conversion greater than 9007199254740991 may have accuracy problems.

## Knowledge of converter

In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically 0 (zero) and 1 (one).

The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices.

In mathematics and computing, 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–F (or alternatively a–f) to represent values 10 to 15.

Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a more human-friendly representation of binary-coded values. Each hexadecimal digit represents four binary digits, also known as a nibble, which is half a byte. For example, a single byte can have values ranging from 0000 0000 to 1111 1111 in binary form, which can be more conveniently represented as 00 to FF in hexadecimal.

## Binary to hex conversion table

Binary | Hex |
---|---|

0 | 0 |

1 | 1 |

10 | 2 |

11 | 3 |

100 | 4 |

101 | 5 |

110 | 6 |

111 | 7 |

1000 | 8 |

1001 | 9 |

1010 | A |

1011 | B |

1100 | C |

1101 | D |

1110 | E |

1111 | F |