Browser-only tool

Number base converter

Convert whole numbers between base 2, 8, 10, and 16 for programming, debugging, and learning binary or hexadecimal notation.

  • Updated: 2026-04-30
  • Number conversion runs locally in your browser and does not upload input.

Warning: this tool converts safe JavaScript integers. Very large values and signed binary formats need dedicated handling.

Converted values will appear here.

Privacy And Limitations

Number conversion runs locally in your browser and does not upload input.

  • This tool focuses on integers, not fractional or arbitrary precision decimal math.
  • Very large values can exceed JavaScript safe integer limits.
  • Signed binary representations such as two’s complement need context-specific interpretation.

FAQ

Which bases are supported?

Binary, octal, decimal, and hexadecimal are supported in this first version.

Can it convert fractions?

No. This page focuses on whole-number conversion.

Why do very large values fail?

JavaScript number safety limits can make very large integer conversion unreliable.

What about two’s complement?

Two’s complement depends on bit width and signedness, so it should be handled by a dedicated tool.

Is conversion done locally?

Yes. The conversion happens in the browser.