Binary to HEX Converter Enjoy/etc2011. 8. 8. 13:45
Binary to HEX conversion is need if you want to open any non text file into a text editor to inspect issues like, hidden characters, corrupted UTF-8 sequences, corrupted file identifiers. This page allows you to learn and test the binary to HEX conversion process.
What is HEX?
HEX, hexadecimal, is a number presentation system that uses 16 values per digit, base 16. Those 16 values are represented with 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. An integer presented in the decimal system can be easily can easily converted into the HEX system. For example:
Dec. HEX 7 --> 7 10 --> A 15 --> F 16 --> 10 31 --> 1F 32 --> 20
How to perform binary to HEX conversion?
Performing a binary to HEX conversion is to take the input string or file, treat it as a sequence of bytes, and convert each byte into two HEX digit according to the byte value. In PHP, this can be done easily with the bin2hex() function:
- bin2hex(string) - Returns the HEX presentation of the input string.
To help you learn and test binary to HEX conversion, FYIcenter.com has designed this online testing page. All you need to do is to enter the testing string in the form below and click the Start button. The converted string will be presented in the result area.
Test Result
Other On-line Testing Pages by FYIcenter.com
FYIcenter.com has prepared some simple but very interesting on-line testing pages that are useful for your programming and testing tasks:
- Show Me My Browser's Identification Information
- Show Me My IP Address and Host Name
- Domain Name Format Validator
- IP Address Name Format Validator
- MAC Address Format Validator
- Email Address Format Validator
- ...
- Testing Regular Expression Match Patterns
- Testing Regular Expression Match Patterns of Multiple Occurrences
- Testing Regular Expression Search and Replace
- ...
- Testing date() PHP Function
- Testing htmlspecialchars() PHP Function
- Testing htmlentities() PHP Function
- Testing html_entity_decode() PHP Function
- Testing urlencode() PHP Function
- Testing urldecode() PHP Function
- ...
- Base64 Encode Converter
- Base64 Decode Converter
- UUEncode Converter
- UUDecode Converter
- Binary to HEX Converter
- HEX to Binary Converter
- ...
- Random Integer Generator
- Random Real Number/Float Value Generator
- Random Price/Currency Value Generator
- Random Date and Time Value Generator
- Random String Generator
- ...
- Test User Full Name Generator Generator
- Test User Birthday Date Generator
- Test Phone Number Generator
- Test Email Address Generator
- Test IP Address Generator
- Test MAC Address Generator
- Test Credit Card Number Generator
- Test Password Generator
- ...
- List of All Testing Tools by FYIcenter.com