Number converter

Hex, decimal, binary, signed and ASCII, in either byte order.

How to use it

  1. Type a number in hex, decimal or binary, or as ASCII text.
  2. Choose the width, signed or unsigned, and the byte order.
  3. 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

Lessons that explain it

Also useful for: hex, binary, two complement, endian, ascii.