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
220 useful tools become easier to find from Google Search and AI Search!
- Found in search
- Also shown in AI Search
- Discover new tools
Featured Tools
RAKKOTOOLS is free to use!
Available free of charge for individuals and corporations, commercial and non-commercial use alike.No prior permission or usage application is required. Feel free to use it in various situations.

Use in streaming and videos
Use various tools such as lottery draws and raffles in live streams and videos.

Use in schools, work, and events
Can be used in various situations such as classes, team division, internal work, and events.

Introduction on Web, books, and SNS
Feel free to introduce it as a useful tool on web media, books, SNS, and other platforms.

Commercial use
Can be used for commercial purposes such as research, calculation, processing, and conversion in business and production.
If you mention it, I get motivated to create more tools!


If using in streaming and videos
Link to RAKKOTOOLS in the description, or Mention or display that you are using RAKKOTOOLS in the stream or video.
Credit example for the description
Usage guidelinesYou are free to use it for normal purposes. However, use for purposes that violate laws, infringe on third-party rights, impose significant load on the service, or otherwise interfere with service operation is prohibited.
We do not guarantee the accuracy or completeness of information and calculation results obtained from each tool.
This notice is a translation of the original Japanese text. If there is any discrepancy between the translation and the original, the Japanese original takes precedence.
