Skip to content
QZTools

Number base converter

Type a number in any base and instantly get its value in the others.

Everything runs in your browser. Nothing you type or paste is sent to a server.

How to number base converter

  1. 1

    Type the number.

  2. 2

    Tell us which base it's in (decimal, binary, hex…).

  3. 3

    Copy the result in the base you need.

About this tool

It handles whole numbers of any size using arbitrary-precision arithmetic, so 64-bit values and beyond convert without losing digits.

Besides the usual bases, you can use any base from 2 to 36 (base 36 is handy for short IDs).

Frequently asked questions

Does it support decimals?

For now it converts whole numbers, positive or negative.

Can I type prefixes like 0x or 0b?

Yes, they're ignored when reading hexadecimal and binary numbers.