Skip to content
Ovatly

Number Base Converter

100% PrivateDeveloper Tools

Convert integers between binary, octal, decimal and hexadecimal in one step.

Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.

  1. 1Type the number, a leading minus is allowed for negatives.
  2. 2Tell the tool which base the input is in.
  3. 3Read all four representations and copy the one you need, or copy all at once.

About this tool

The Number Base Converter translates integers between binary, octal, decimal and hexadecimal in one step, using BigInt arithmetic so conversions stay exact far beyond the 2^53 limit where ordinary JavaScript numbers start losing precision. Programmers use it for permissions, bitwise flags, memory addresses and color values.

Related tools

Advertisement

Part of Ovatly's free tools in Developer Tools.