🔢

Number Base Converter

Convert positive or negative whole numbers between bases 2–36 without losing large digits.

Method

Convert signed integers exactly using BigInt, validating every ASCII digit before calculation. Six bases 2/8/10/16/32/36 and custom 2–36 are supported; this is integer radix notation, not text or transport Base32. Default base 10 detects 0b/0o/0x after the sign; mismatched prefixes reject. 9007199254740993 becomes hex 20000000000001; -255 copies as -0xFF. Grouped binary pads magnitude in four-bit groups, so -1 is -0001. Limits: 4100 raw characters, 4096 digits, 21178 binary digits and 32768 formatted output characters. No fractions or two’s complement.

Copied

Copy failed. Select the result and copy it manually.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

3.0
3 ratings
✓

About Number Base Converter

Convert positive or negative whole numbers between bases 2–36 without losing large digits.

9007199254740993 → 0x20000000000001; -1 → -0001

Model · BigInt

Use Cases

Inspect integer bit patterns in grouped binary.
Translate hexadecimal integer values into decimal.
Convert octal examples into binary.
Compare signed integers across bases without losing large digits.
Explore custom radix notation from base 2 to 36.

How to use

1

Enter a signed integer in “Input”, for example 255, FF or 11111111.

2

Choose its radix in “Source base”: 2, 8, 10, 16, 32 or 36.

3

Or click a preset chip such as 0xFF, 0b11111111 or 0o777 to load a value and its base in one click.

4

Read the result rows for Binary, Octal, Decimal, Hexadecimal, Base32 and Base36, plus the Grouped line that splits the binary into readable blocks.

5

Set the Custom Base spinner to any base from 2 to 36 for one extra conversion below the standard rows.

6

Click Copy on any row to take that value, prefix included, to your clipboard, or Clear to start over.

Pro Tips

  • No fractions or two’s complement.

Frequently Asked Questions

Convert signed integers exactly using BigInt, validating every ASCII digit before calculation. Six bases 2/8/10/16/32/36 and custom 2–36 are supported; this is integer radix notation, not text or transport Base32.

Default base 10 detects 0b/0o/0x after the sign; mismatched prefixes reject. 9007199254740993 becomes hex 20000000000001; -255 copies as -0xFF. Grouped binary pads magnitude in four-bit groups, so -1 is -0001. Limits: 4100 raw characters, 4096 digits, 21178 binary digits and 32768 formatted output characters. No fractions or two’s complement.

Popular Tools

No more tools to show
Explore All Tools
FreeWebTools AI