← Free Everyday Tools

Number Base Converter

Convert a number between binary, octal, decimal, hexadecimal and any base from 2 to 36. Big numbers work. Nothing leaves your browser.

How it works

Digits are read in the base you choose (letters a–z stand for 10–35), turned into an exact big integer, then written out in each base. Prefixes 0x, 0b and 0o and spaces or underscores are accepted. Whole numbers only.

FAQ

How do I convert binary to decimal?

Choose From base 2, type the binary number, and press Convert. For example 1101 in binary is 13 in decimal.

How do I convert decimal to hexadecimal?

Choose From base 10, type the number, and read the Hex line. For example 255 in decimal is FF in hexadecimal.

Which bases are supported?

Any base from 2 to 36. Binary (2), octal (8), decimal (10), hexadecimal (16) and base 36 are shown for every result.

Is my data stored or uploaded?

No. Everything is calculated in your browser and nothing is sent anywhere.

Tell us what to fix

Please do not enter your name, email, or personal information.

How useful was this tool? (1–5)

May we quote your comment anonymously?

Free tool, provided as is, with no guarantee. Results are for general information. Please do not enter personal information in feedback.