Skip to content

Generators & Converters

Number Base Converter

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

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

Tip: press Enter in a field to run the tool.

Result will show here after you run the tool.

How to convert a number base

  1. Choose decimal, hex, octal, 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, octal, and binary. Hex input can include a 0x prefix, octal a 0o prefix, and binary a 0b prefix.

Back to Generators & Converters

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.

More questions on the FAQ page ยท Browse guides

Keep working without leaving the site.