Base Converter
Convert numbers between binary, octal, decimal, hex or any base 2-36.
Base 2
11111111
Base 8
377
Base 10
255
Base 16
FF
73
Private & SecureRuns in your browser — nothing is uploaded
Easy to UseJust paste or type — instant results
Free ForeverUnlimited use, no sign-up
Fast & ReliableAdvanced tech, fast and stable
The same number can be written in binary, octal, decimal, hex, or any base from 2 to 36, and switching between them by hand is error-prone. Type a value in one base and read it instantly in all the others, so you can sanity-check a colour code, a permission mask or a low-level value without reaching for a calculator.
How to use: Base Converter
- 1Enter inputType the number you want to convert into the input box.
- 2Set optionsSelect the base the number is currently in (source base, 2 to 36).
- 3ProcessSelect the target base you want to convert it to.
- 4Get resultView the converted result live and copy it in one click.
Common use cases
Read hex and binaryConvert a hex colour or a register value to decimal to see what it really is.
File permissionsTurn an octal permission like 755 into its binary bits to read each flag.
Bit mathCheck a bitmask or flag value across binary, decimal and hex at a glance.
Learn number systemsSee the same value side by side in several bases while you study how they work.
Good to know
Any base from 2 to 36Beyond the usual binary, octal, decimal and hex, pick any base up to 36, where the letters a to z stand for the digits above nine.
Case does not matter on inputHex and higher bases accept upper or lower case; the value is the same either way.
Whole numbers, not fractionsBase conversion here is for integers; fractional parts follow different rules and are not what the tool is for.
Watch prefixes and leading zerosIn some languages 0x or a leading zero only marks the base; here, enter the digits and choose the base explicitly.