All Developer

Number Base Converter

Convert between binary, octal, decimal, hex.

number-base-converter.local
From base
Enter a value to convert across bases.

How to use it

  1. Choose the base of your input.
  2. Type the number.
  3. Read and copy it in binary, octal, decimal, and hex.

About this tool

The number base converter reads a non negative whole number in the base you choose and shows it in binary, octal, decimal, and hexadecimal. It checks that the digits are legal for the chosen base. It works with safe integers, so very large values beyond standard precision are flagged rather than shown incorrectly.

Examples

Input255 in decimal
Output11111111, 377, 255, FF
Inputff in hex
Output11111111, 377, 255, FF

Common uses

  • Convert a hex byte to decimal
  • Read a binary value as a number
  • Get the hex form of a decimal
  • Check a permission or flag value

FAQ

Is my input uploaded?
No. The conversion runs in your browser. Nothing you enter is sent anywhere.
Does it handle decimals or negatives?
No. It converts non negative whole numbers, since base notation for fractions and signs varies by context.
What about very large numbers?
Values beyond the safe integer range are flagged, because converting them could lose precision and show a wrong result.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/number-base-converter/" title="Number Base Converter by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/number-base-converter/" target="_blank" rel="noopener">Number Base Converter</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>