Developer · RADIX

Binary, Octal, Decimal & Hexadecimal Radix Converter

Type any integer in Base 2, 8, 10, 16, or 36 to see every equivalent representation and exact unsigned bit width simultaneously—powered by BigInt for lossless 64-bit, 128-bit, and 256-bit math.

✓ 100% Browser-Local · Zero Upload Reviewed: 2026-11-26

Initializing local browser workspace...

Convert Large Integers Across Bases Without Floating-Point Precision Bugs

Standard web converters rely on 64-bit IEEE floating-point numbers (parseInt / Number), silently corrupting 64-bit Snowflake IDs, Ethereum uint256 values, and SHA hashes beyond 2^53 − 1. Using BigInt guarantees bit-exact conversions at any integer width.

  • Simultaneous live conversion across Base 2, Base 8, Base 10, Base 16, and Base 36
  • Arbitrary-precision JavaScript BigInt engine with zero 53-bit IEEE 754 precision loss
  • Automatic stripping of common prefixes (0x, 0b, 0o) and visual underscore/space separators
  • Exact unsigned bit-length readout for verifying 8-bit, 32-bit, 64-bit, or 128-bit bounds
  • Full support for negative integers alongside quick example presets
  • Instant offline calculation inside your local browser runtime

Step-by-Step Guide

  1. Select the source number base (Decimal, Hexadecimal, Binary, Octal, or Base 36) from the dropdown menu.
  2. Type or paste your integer—prefixes like 0x or underscores like 1111_0000 are handled automatically.
  3. Read all five converted representations plus the minimum unsigned bit width simultaneously in the cards below.
  4. Click a preset button to test common hex memory markers or binary bitmasks instantly.

Number Base & Integer Precision Pitfalls

JavaScript Number Overflow Above 9,007,199,254,740,991

Ordinary JS Number.MAX_SAFE_INTEGER rounds off the lower digits of 64-bit database IDs and 128-bit UUID integers. Always rely on BigInt for exact radix math.

Confusing Octal Leading Zeros in Legacy Configs

In older C, YAML, and JavaScript parsers, a leading zero like 0755 signals Base 8 (493 decimal) rather than decimal 755—causing surprise bugs in Unix mode flags.

Signed Two's Complement vs. Magnitude Binary

Negative values here display signed magnitude notation (-11111111). For fixed-width 32-bit two's complement bit patterns, add 2^32 before converting to binary.

Systems Programming, Web3 & Debugging Uses

  • Decoding hexadecimal HTTP error flags, memory addresses, RGB channels, and Ethereum hex quantities.
  • Inspecting 64-bit Twitter/Discord Snowflake IDs and Unix bitmasks without losing low-order bits.
  • Generating compact Base 36 alphanumeric short-link IDs from sequential decimal database keys.

Frequently Asked Questions

Can this converter handle 64-bit and 256-bit hexadecimal values accurately?

Yes. Because it converts digit-by-digit into JavaScript BigInt instead of 53-bit floating-point Numbers, 64-bit, 128-bit, and 256-bit integers remain 100% exact.

What is Base 36 used for in software engineering?

Base 36 uses digits 0–9 and letters A–Z to shorten long decimal database IDs into compact, case-insensitive, URL-friendly strings.

Do I need to strip 0x or 0b before pasting hex or binary?

No. Leading 0x, 0b, 0o prefixes as well as spaces and underscore visual separators are stripped automatically before parsing.

Local Privacy Guarantee: All radix conversions run offline using native browser BigInt with zero external server interaction.