Skip to main content
Z

Number Base Converter — Decimal, Binary, Octal & Hex Live

Convert numbers between decimal, binary, octal and hexadecimal in a live 4-row grid. BigInt-safe with optional signed 32 / 64-bit mode.

Free No signup Client-side Privacy friendly Updated
Sign mode

How to use

  1. 1 Type a number in any of the four rows — the others update live.
  2. 2 Pick Unsigned for arbitrary-precision BigInt, or Signed 32-bit / 64-bit for two's-complement display of negatives.
  3. 3 Toggle the prefix switch to show 0b, 0o, 0x where relevant.
  4. 4 Copy any row to the clipboard with its Copy button.

Why use this tool

  • BigInt-safe — numbers larger than 2^53 do not lose precision.
  • Two's-complement display for signed 32 / 64-bit modes.
  • No prefixes required on input — paste -42, 0b1010, 0xFF, or plain digits.
  • Runs in your browser, zero network calls.

Frequently asked questions

Why does -1 show as ffffffff in signed 32-bit?

That is the two's-complement representation of -1 at 32 bits. Switch back to Unsigned to see the decimal -1 as just -1, with binary 1.

How large can the number get?

In Unsigned mode the only limit is browser memory — it uses BigInt internally. Signed modes mask to 32 or 64 bits.

Can I paste a number with underscores or spaces?

Yes — common digit-grouping separators like 1_000_000 or 1 000 000 are accepted.

Need bitwise operations on these numbers?

Use our Bitwise Calculator — AND, OR, XOR, NOT, shifts in any of the four bases.

What is Number Base Converter?

A Number Base Converter is a tool that converts numbers between decimal, binary, octal, and hexadecimal in a live grid where editing any row updates the others. It uses BigInt arithmetic to handle large values without precision loss and offers an optional signed 32-bit or 64-bit mode for two's-complement interpretation. It runs entirely in the browser.

Features

Live 4-base grid

Edit decimal, binary, octal, or hex and the other three update in real time.

BigInt-safe

Converts arbitrarily large integers with no floating-point precision loss.

100% private

All arithmetic runs client-side — nothing is uploaded.

Example

Input

255

Output

Decimal: 255
Binary:  11111111
Octal:   377
Hex:     FF

Common use cases

  1. 1

    Read hex or binary from code

    Turn a 0xFF or 0b1010 literal from source or a memory dump into a decimal value.

  2. 2

    Build bitmask / flag values

    Compose permission or config flags and read them in every base at once.

  3. 3

    Learn positional number systems

    See how the same value looks across bases to understand radix conversion.

Summary

Zerethon's number base converter switches a value between decimal, binary, octal, and hexadecimal in a live grid — edit any base and the others update instantly. It uses BigInt so large integers convert without precision loss, and offers a signed 32-/64-bit two's-complement mode. Runs entirely in your browser.

Category
Developer
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

Privacy

Your data never leaves your browser unless explicitly stated. Number Base Converter runs entirely client-side — no server upload, no logging, no tracking of your input.

Compare

Learn the basics

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free