Skip to tool
Systems

Number Base & Byte Inspector

Translate integer bases, signed widths, byte order, and floating-point bits.

Input0 characters
Result0 characters
Ready

Prefer a native workflow?

Keep Number Base & Byte Inspector one shortcut away.

DevSexy for Mac puts the same private workflow in a focused desktop app, with global shortcuts and no browser tab to manage.

Global shortcutOffline-readyLocal processing
Try the Mac app free

This browser tool remains free.

Memory interpretation lab

The digits are data. Width and type give them meaning.

The same 32 bits can be an unsigned integer, a negative two’s-complement value, four ordered bytes, or an IEEE-754 float. State the interpretation before trusting the number.

Decimal

3,735,928,559

Hex

0xDEADBEEF

Binary · 32-bit

1101 1110 1010 1101 1011 1110 1110 1111

Bytes

DE AD BE EF

01 · Width before meaning

One bit pattern, two integer readings

8-bit16-bit32-bit64-bit

Unsigned

3,735,928,559

Signed · two’s complement

−559,038,737

Sign bit

31 · set

Unsigned max

4,294,967,295

Selecting a smaller width may discard high bits. DevSexy labels that truncation instead of silently changing the value.

02 · Address-by-address memory

Endianness reorders bytes, never the bits inside a byte.

+00+01+02+03
Big endian · MSB at the lowest addressDEADBEEF
Little endian · LSB at the lowest addressEFBEADDE

03 · IEEE-754 single precision anatomy

Interpret the same 32 bits as a floating-point value

S

1

Exponent

10111101

Fraction

10110101101111011101111

ZeroSubnormalNormalInfinityNaN
Class
Normal
Unbiased exponent
62
Significand
1.fraction
Value
≈ −6.2599 × 10¹⁸

04 · Practical reading recipes

Start from the format contract, not from a plausible-looking result.

Packet / hex dump

Locate field bytes → read the protocol width → apply the declared order → interpret signedness

Debugger watch

Copy bytes at increasing addresses → choose the C type width → compare logical and memory views

Modbus registers

Confirm register order separately from byte order; 32-bit devices may use mixed word layouts

Float sensor

Read exactly 4 or 8 bytes → apply wire order → decode IEEE-754 → check special classes

Run a reproducible example

Interpret the same bits under an explicit width, signedness, or IEEE-754 format.

Using an example replaces the current input, reference input, operation, and options. Public demonstration data only.

Read FF as signed eight-bit data

Hex input, eight-bit width, signed two’s complement, big endian.

Input

0xFF

FF is 255, outside the signed eight-bit range. The width-fit warning labels the low-bit interpretation as -1; unsigned interpretation gives 255.

Selected width: 8 bits
Signed (8-bit): -1
Width fit: no

Decode the float32 bits for one

IEEE-754 binary32, hexadecimal 0x3F800000, big-endian memory display.

Input

0x3F800000

The report gives value 1, including the sign, exponent, and fraction fields.

IEEE-754 binary32
Value: 1
Hex bits: 0x3F800000

Continue with a related task

Base64 Text

Encode and decode UTF-8 text with standard and URL-safe Base64 variants.

Hash, HMAC & Checksum Studio

Calculate and verify digests for text and files with streaming workers.

Text Escapes & Unicode Inspector

Inspect code points, normalization, graphemes, and language escape sequences.

Repeat the task in DevSexy for Mac

Use the native app for repeated offline work and direct Option shortcuts.

Direct answer

What is Number Base & Byte Inspector?

Convert numbers online across bases, signed widths, byte order, and IEEE-754 fields with exact integer handling and explicit interpretation choices.

What can it do?

  • Convert
  • Float bits

How to use Number Base & Byte Inspector

  1. 01

    Prepare the input

    Declare the source base and whether you mean an integer, bytes, or a float bit pattern.

  2. 02

    Choose the operation

    Set width, signedness, and memory byte order explicitly.

  3. 03

    Review the evidence

    Read width-fit warnings before accepting low-bit or wrapped interpretations.

Frequently asked questions

Why can FF mean -1 or 255?
At eight bits the pattern is identical. Unsigned interpretation gives 255; signed two’s-complement interpretation gives -1. Width and signedness are part of the contract.
Does byte order change the mathematical integer?
Byte order determines the memory byte display. It must match the external format when reading a byte sequence; it is separate from the chosen integer signedness.
Is float decoding the same as base conversion?
No. IEEE-754 assigns fields to sign, exponent, and fraction. The bit pattern 0x3F800000 represents float32 value 1, rather than its decimal integer interpretation.