t.TavioDesk

Converters · TOOL GUIDE

How to convert integers between binary, decimal and hexadecimal

Tool guide · Practical example and limitations

Number bases represent the same integer using different digit sets. This is useful for learning, checking configuration values or reading technical identifiers. The numeral converter handles integers directly rather than routing them through a floating-point approximation, which matters when a number is larger than ordinary precise JavaScript integer arithmetic.

Try it while you read

Exact integer conversion: binary, octal, decimal, hex and base 36.

Open Numeral System Converter ↗

How to use the tool

  1. Choose the input base and enter valid digits.
  2. Select the target base.
  3. Compare the result with a small known value before using a long identifier.

A practical example

Decimal 255 is hexadecimal FF and binary 11111111. Hexadecimal uses digits 0–9 followed by A–F. The digit F is valid in base 16, but not in decimal.

What to check before relying on the result

Fractional numbers are outside this integer converter. A base conversion does not automatically interpret a signed machine representation, byte order or a text encoding. Keep leading-zero requirements separate when a device expects a fixed-width field.

Does binary output decode a message?

No. Integer conversion and character decoding are different operations.

Use Numeral System Converter →