# Number Base Converter

Canonical: https://dev.eneawork.it/number-base
Language: en
Updated: 2026-11-02
Author: Enea Zani (https://eneawork.it)

Binary, octal, decimal and hex with BigInt precision.

## What it does

Developers move between binary, octal, decimal and hex all day: flags, permissions, colors, memory. This converter uses BigInt, so 64-bit values do not lose precision, and it accepts 0x, 0b and 0o prefixes. The bit length tells you how wide a field the value needs.

## How to use

1. Paste the number.
2. Leave the base on auto or choose one.
3. Copy any format from the result rows.

## FAQ

### Are negative numbers supported?

Yes. The sign is preserved in every base; two's complement is not implied.

### Why BigInt instead of Number?

JavaScript Number loses integer precision above 2^53. BigInt keeps arbitrary-size integers exact.

### What does bit length mean?

The minimum number of binary digits needed for the absolute value. A value needing 9 bits does not fit in an unsigned byte.

## Related tools

- [Color Converter](https://dev.eneawork.it/color-converter)
- [Hash Generator](https://dev.eneawork.it/hash-generator)
- [HTML Entities](https://dev.eneawork.it/html-entities)

## Machine-readable

- Tool catalogue: https://dev.eneawork.it/tools.json
- Full AI context: https://dev.eneawork.it/llms-full.txt
- Privacy: https://dev.eneawork.it/privacy
- This page in HTML: https://dev.eneawork.it/number-base
- Italian version: https://dev.eneawork.it/it/number-base
