DEVELOPER TOOLS / CONVERTERS
HEX ↔ Float / Double
Processed locally in your browserInterpret IEEE 754 bytes, inspect the bits, and convert decimal values back to hex.
Result
How to use this tool
Quick start
- Choose the conversion direction and 32-bit Float or 64-bit Double.
- Select the byte order used by your device or file.
- Enter hexadecimal bytes or a decimal number. Results update as you type.
A practical example
41 C8 00 00 is 25.0 as a big-endian Float. The same value in little-endian order is 00 00 C8 41.
This tool reinterprets IEEE 754 bit patterns; it does not treat the hex input as an integer to cast. The bit layout is always shown most significant bit first.
Float has 23 fraction bits; Double has 52. Decimal input may be rounded to the nearest representable value. NaN, Infinity, -Infinity and signed zero are supported. Byte order reverses all bytes; device-specific word swapping is not applied.
DataView and byte order ↗
DataView and byte order ↗