Binary-HEX Conversion
Two-way conversion between binary and hexadecimal (HEX)
Features
Mutually convert binary and hexadecimal
Radix-convert bit sequences and HEX values in both directions
Choose uppercase or lowercase
Specify the A–F notation of hexadecimal to suit your purpose
Converts values with spaces
Automatically processes delimited values by removing the whitespace
Processes up to 1 million characters
A design that batch-converts long bit sequences and dumps
How to Use
Select the conversion direction with a button
Switch the conversion mode with the "Binary → Hex" and "Hex → Binary" buttons
Enter the value to convert
Enter binary or hexadecimal in the input field. Loading from a sample is also possible
Set whether to output in uppercase
For Binary → Hex, switch the A–F notation with the "Output in uppercase" toggle
Show the result with the convert button
Press convert to show the result in the output field, ready to use with copy or download
Use Cases
Debugging in programming
Convert bit flags and register values to hexadecimal to use in checking code behavior
Learning and checking radix conversion
Confirm through real examples how 4 bits correspond to one hexadecimal digit, and use it to check hand calculations
Support for analyzing memory dumps
Consolidate data in binary notation into easier-to-read hexadecimal to streamline understanding the contents
Checking network settings
Cross-check the bit sequences of subnet masks and MAC addresses against hexadecimal
Basic Knowledge
How to Convert from Binary to Hexadecimal
Since one hexadecimal digit corresponds exactly to four binary digits, you can convert by simply dividing the binary number into groups of four digits from the right and replacing each group.
- Conversion Example:The binary number 10100110, when divided into groups of four digits, becomes 1010 and 0110, which correspond to hexadecimal A and 6 respectively, resulting in A6.
- Range of Correspondence:Binary 0000 through 1111 correspond to hexadecimal 0 through F, and values equivalent to decimal 10 through 15 are represented by the letters A through F.
Where Is Hexadecimal Used?
Hexadecimal is widely used in color codes (such as #FF0000), memory addresses, and character code notation because it allows long binary numbers to be expressed more concisely and readably.
Safety and Privacy
Runs entirely in your browser
Your input data is processed only within your browser and is never sent externally.
Processing only in your browser
conversion processing is processed entirely within your browser, and input data is not sent to any server.
Communications encrypted with HTTPS
Page loading is also encrypted by TLS, and content cannot be read by third parties.
No transmission to third parties
Input content is not sent to external services such as ad networks or trackers.
No automatic saving of results
conversion results and input suggestions are not stored on the server.
Follow RAKKOTOOLS on Google Search
175 useful tools become easier to find from Google Search and AI Search!
- Found in search
- Also shown in AI Search
- Discover new tools
