Number converter
Hex, decimal, binary, signed and ASCII, in either byte order.
- Free
- No sign-up
- Nothing uploaded: files are read in your browser
- Works offline after the first visit
How to use it
- Type a number in hex, decimal or binary, or as ASCII text.
- Choose the width, signed or unsigned, and the byte order.
- Read it in every form at once.
Questions
How are negative numbers shown?
As two’s complement at the width you choose, the way microcontrollers store them.
Which byte order is which?
Little endian (Intel) stores the least significant byte first; big endian (Motorola) stores the most significant byte first.
Related tools
- Fixed point (Q format) and IEEE 754 inspector: Q15/Q31 and any Qm.n; float16/32/64 bits, exact value, rounding error and ULP.
- Signal encoder / decoder: Pack and unpack a DBC signal: Intel or Motorola, signed, factor and offset.
- Register viewer (SVD): CMSIS-SVD peripherals, registers and bit fields; decode a value; find the register at an address; C defines.
- CRC and E2E calculator: CRC-8 J1850, CRC-8H2F, CRC-15, CRC-16, CRC-32, CRC-32P4 and AUTOSAR E2E profiles 1 and 5.
Also useful for: hex, binary, two complement, endian, ascii.