iPGaze

Number Base Converter

Convert a number between decimal, hex, octal and binary.

Results appear as you type

Everything runs locally in your browser โ€” your input never leaves this page.

About the Number Base Converter

The Number Base Converter translates a single value between decimal, hexadecimal, octal and binary in one place. Type a number in any base and the other three representations update instantly, so you can read a hex color, decode a binary flag, or check an octal file permission without reaching for a calculator. Everything is computed client-side in your browser, so the numbers you enter never leave your machine.

How to use

  1. Pick the base of the number you already have (decimal, hex, octal or binary).
  2. Type or paste the value into that field.
  3. Read the equivalent value in the other three bases as they update automatically.
  4. Copy whichever representation you need into your code or terminal.

Frequently asked questions

Which bases are supported?
Base 10 (decimal), base 16 (hexadecimal), base 8 (octal) and base 2 (binary), with conversions running in every direction.
Do I need to add a prefix like 0x or 0b?
No. Just enter the raw digits in the matching field; the converter already knows the base, so prefixes are optional.
Can it handle large numbers?
Yes, it handles standard integer values well. Very large numbers may be limited by JavaScript number precision, so treat extremely large inputs with care.

Related Developer tools