Skip to content
FR – lire en français

Number Base Converter

Convert numbers between binary, octal, decimal, hexadecimal and any base.

Loading the tool on your device…

Type a whole number written in one base and read it in binary, octal, decimal, hexadecimal and one more base of your choice. Numbers of any length are converted exactly, without rounding.

Updated 7 December 2026 · runs in your browser

How to use it

  1. Type a number.
  2. Say which base it is written in.
  3. Read and copy it in the other bases.

Details

Number Base Converter details
Bases2 to 36
SizeAny length, exact (big integers)
InputPrefixes 0x, 0b, 0o, a minus sign and _ separators

Questions

Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Does it handle decimals like 3.14?
No, whole numbers only. Fractions often have no exact form in other bases, so they would be rounded.
  • Colour Converter

    Convert colours between HEX, RGB, HSL and OKLCH, and check contrast.

  • Hash Generator

    Get the MD5, SHA-1 and SHA-256 of text or a file, and check a download.