How It Works Under the Hood
Integer parsing converts base `2`, `8`, `10`, and `16` strings (ignoring optional prefixes like `0x`/`0b`/`0o` and `_` separators) into native JavaScript `BigInt`, masking modular 32-bit/64-bit Two's Complement registers. Float inspection uses a typed `DataView` over `Float32Array` / `Float64Array` buffers to read raw IEEE-754 bit fields directly.
Step-by-Step Instructions
Select your input integer radix (`Base 10`, `16`, `2`, or `8`) and enter a positive or negative value.
Copy Base 2, 8, 10, 16, or 32-bit/64-bit Two's Complement representations.
In the lower panel, select `Float32` or `Float64` and type any decimal or special value (`0.1`, `-3.14`, `Infinity`).
Inspect the color-coded Sign bit, Biased/Unbiased Exponent, Mantissa bits, Hex word, and exact stored decimal.
Key Features & Performance
- True `BigInt` arithmetic handles 64-bit, 128-bit, and 256-bit integers with zero precision loss
- Instant 32-bit and 64-bit Two's Complement binary representations for signed negatives
- Visual Sign / Exponent / Mantissa bit breakdown for both Float32 and Float64
- Exposes exact stored IEEE-754 rational values (why `0.1 + 0.2 !== 0.3` in binary floating point)
- Supports underscore digit grouping (`0xFF_FF_00_01`) and copy buttons per field
Methodology, Formulas & Technical Standards
IEEE-754 inspection copies the numeric operand into an IEEE `DataView` via `setFloat32` / `setFloat64` and extracts unsigned bit fields (`getUint32` / `getBigUint64`) with explicit unbiased exponent offset calculation (`-127` for Float32, `-1023` for Float64).
Common Real-World Use Cases
- Debugging embedded firmware registers, C/Rust integer overflows, and bitmasks
- Understanding why `0.1` becomes `0.10000000149011611938...` in 32-bit floats
- Decoding raw 8-byte sensor telemetry hex strings or protocol endianness values
- Computer Architecture homework checking Two's Complement and normalized vs subnormal floats
Worked Examples & Edge Cases
Why 0.1 Cannot Be Exact in Binary Float32
Float32: 0.1
Sign: 0 | Exponent (-4): 01111011 | Hex: 0x3DCCCCCD | Stored: 0.10000000149011612
Repeating binary fraction rounds at the 24th significand bit.
Signed Negative Two's Complement
Decimal: -1
32-bit: 11111111111111111111111111111111
All bits set under 32-bit unsigned modular representation (`2^32 - 1`).
Limitations, Scope & Accuracy Notes
- • Integer conversion expects discrete integer strings rather than fractional binary/hex points (`0x1.8p0`); use the Float Inspector for fractional values.
- • Display hex words follow standard big-endian bit-sequence ordering.
Local Browser Processing & Privacy
Traditional web converters upload your documents, snippets, or media files to remote servers. BigInt Base Converter & IEEE-754 Float Inspector runs inside your browser tab:
Your input text and files are processed locally without uploading payloads to a processing server.
Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).
Working outputs stay in your browser tab and are released when you reset the tool or close the tab.
Frequently Asked Questions
Does JavaScript truncate 64-bit integers over 2^53 - 1 here?
No. The Integer Converter parses strings directly into `BigInt`, preserving full precision far beyond 64 or 256 bits.
How are signed negative numbers shown in Two's Complement?
Negative BigInts are masked via `BigInt.asUintN(32, value)` and `BigInt.asUintN(64, value)` and padded to full 32- or 64-bit register widths.
Can I test `Infinity`, `-Infinity`, or `NaN`?
Yes. Typing `Infinity` or `NaN` displays all-ones exponent bits and classifies the float automatically.
Are underscore separators allowed when pasting binary or hex?
Yes. Underscores and spaces (like `0b1111_0000`) are stripped automatically.
Explore Related Micro-Tools
Unix chmod & umask Permission Calculator
Convert between octal (0755, 4755), symbolic (rwxr-xr-x) and umask defaults with visual bits
IPv4 & IPv6 CIDR Subnet Calculator
Calculate CIDR ranges, network/broadcast addresses, usable hosts, wildcard masks & RFC 1918 class
Base64, URL & Hex Multi-Format Encoder/Decoder
Auto-detecting multi-codec converter for Base64, URL percent-encoding, Hex & HTML