Skip to content

Code tool

Number Base Converter

Paste a whole number and see it in decimal, hex, and binary.

Processed in your browser. The text is not sent to our servers.

How to convert a number base

  1. Choose decimal, hex, or binary.
  2. Paste a whole number in that base.
  3. Click Convert number and copy the form you need.

The result lists decimal, hexadecimal, and binary. Hex input can include a 0x prefix. Binary input can include a 0b prefix.

Back to Code tools

Frequently asked questions

Can I convert decimals with a fraction?

No. This tool converts whole numbers, including large values and negative decimal numbers.

Is the number uploaded?

No. Conversion runs in your browser.