Number Base Converter

Convert numbers between decimal, binary, hexadecimal, and octal instantly.

Working with binary, hex, and octal values is routine for developers debugging memory, colors, or network protocols. This converter translates numbers between decimal, binary, hexadecimal, and octal instantly. Every base updates simultaneously as you type in any of them. Conversion runs locally in your browser.

  1. 01Upload
  2. 02Configure
  3. 03Run
  4. 04Download

Loading tool...

FAQ

Frequently asked questions

Everything you need to know about number base converter.

Which number bases are supported?

Binary, octal, decimal, and hexadecimal are all supported, and conversions happen live as you type. You can switch between any pair of bases, and entering a value in one base automatically updates the others in the same view.

How large can the numbers be?

Values are processed as JavaScript numbers, so anything up to the safe integer range of 2 to the power of 53 minus 1 works reliably. Larger integers beyond that boundary may lose precision, so stay below 9007199254740991 for exact results.

Do negative numbers and decimals work?

Yes. Negative numbers convert cleanly between all four bases, and the decimal and hexadecimal views handle fractional values. Note that binary and octal output is rounded to the nearest whole value because those bases only represent integers.

Is my input sent to a server?

No. Every conversion is plain arithmetic executed locally in your browser with no network request at all. Nothing you type is transmitted, stored, or logged, so it is safe to use for configuration values and reference data.

Can I use this for bitmask or byte work?

Yes. Hexadecimal and binary views are handy for bitmasks, color values, and byte layouts. For example the decimal value 255 appears as FF in hex and 11111111 in binary, which makes byte boundaries obvious at a glance.

Related tools

same category · same privacy