About Hex Converter
Float decoding is non-trivial: sign bit, exponent bias, and mantissa all need the right offsets. This tool runs the standard IEEE 754 decoder via DataView so the result matches exactly what your CPU sees.
Awaiting input
Every interpretation derived from the same input.
Enter a hex value above to see every conversion.
Float decoding is non-trivial: sign bit, exponent bias, and mantissa all need the right offsets. This tool runs the standard IEEE 754 decoder via DataView so the result matches exactly what your CPU sees.
Bytes are zero-padded to 32 or 64 bits (big-endian), then read as Float32 / Float64. NaN and ±Infinity surface as readable strings.
Decode hex bytes as IEEE 754 floating-point numbers. Up to 4 bytes decode as a 32-bit float; 5–8 bytes decode as a 64-bit double. Bytes are read big-endian unless your protocol says otherwise.
1A3F.Float decoding is non-trivial: sign bit, exponent bias, and mantissa all need the right offsets. This tool runs the standard IEEE 754 decoder via DataView so the result matches exactly what your CPU sees.
Bytes are zero-padded to 32 or 64 bits (big-endian), then read as Float32 / Float64. NaN and ±Infinity surface as readable strings.
Need other directions? Try the Decimal to Hex, Binary to Hex, or Text to Binary tools.
What endianness does the decoder assume?
Big-endian (network byte order). Reverse the bytes manually if your source is little-endian — the Reverse Hex tool does this in one click.
Who needs hex-to-float?
Embedded engineers reading sensor registers, game devs poking at floats stored in save files, and anyone debugging IEEE 754 edge cases.
When should I treat the input as double instead?
When you have eight hex bytes (16 hex digits). Anything shorter is treated as a single-precision float.
Where does NaN come from?
Any exponent of all 1s with a non-zero mantissa is a NaN. The standard does not specify a single representation, so multiple bit patterns map to NaN.
Why are negative zeros possible?
IEEE 754 has both +0 and −0. They print as “0” here, but the bit pattern differs (sign bit set).
How precise is the displayed value?
The tool prints the JavaScript Number conversion, which is double-precision. For exact bit fidelity, inspect the All Conversions panel for the original hex.