DevTools
Language

Number Base Converter

DevTools Number Base Converter converts between binary, octal, decimal, and hexadecimal using BigInt—handy for debugging, protocol parsing, and bit flags, all locally in your browser.

Number Base Converter

Convert between binary, octal, decimal, and hexadecimal—handy for frontend, backend, and embedded debugging.

Binary
0b11111111
Octal
0o377
Decimal
255
Hexadecimal
0XFF

About this tool

BigInt avoids Number precision limits, so large IDs, bit masks, and hex config values convert reliably.

How to use

  1. Select the input base.
  2. Enter a number, optionally with 0b / 0o / 0x prefix.
  3. View instant output in other bases.

FAQ

Does it support large integers?

Yes. BigInt handles integers beyond safe Number range.

Can I enter negative numbers?

Yes. Values like -255 or -0xff keep the sign across all bases.

Does it support decimals?

Only integers in the current version. Floating-point base conversion is not supported yet.

Is conversion done locally?

Yes. All math runs in your browser.

Related tools