Skip to main content

Number Base Converter

New

Convert numbers between binary, octal, decimal, hex, and any base from 2–36.

numberbinaryhexoctalbaseconvert
Read the guide
Shortcuts:⌘ KSearch

Number Base Converter

Converts integers in bases 2 through 36, including very large values.

Frequently Asked Questions

Can this handle really large integers?

Yes. The converter parses numbers with BigInt, so it is not limited to JavaScript’s normal safe integer range for whole numbers.

Why does 1.5 or FF.8 fail here?

This tool only converts integers. The parser walks one digit at a time in the selected base, so fractional notation is not supported.

Why doesn’t the Base32 output match a normal Base32 text encoder?

Because this is numeric base conversion, not RFC 4648 byte encoding. It converts one integer into digits using the alphabet A-Z2-7.

Does it support negative numbers?

Yes. A leading minus sign is preserved and the converted outputs come back as negative values in every base.

Why is the binary result grouped with spaces?

The tool pads the binary string to a multiple of 4 bits and inserts spaces for readability. It is just presentation; the underlying value is unchanged.

Related Tools