Last Updated: February 25, 2016
·
2.165K
· namklabs

Radix/Base conversion with a Google search — easily convert between decimal, binary, octal, hex, etc.

Google Chrome's Omnibar or a regular Google.com search can convert numbers between different bases for you.

Here are the radices that I have found to work with Google:

[number prefix = base]

0b = binary (base 2)

0o = octal (base 8)

0x = hexadecimal (base 16)

regular number = decimal (base 10)

Here are some examples.

Binary to decimal:
Picture

Note that the binary number must be prefixed by "0b" (a zero and a lowercase b)

Hexadecimal to decimal:
Picture

Note that the hex number must be prefixed with "0x" (once again, a zero and and then a lowercase x)

Decimal to hexadecimal:
Picture

No special prefix is needed here. Just a regular number converted to hex.

Binary to hexadecimal:
Picture

Octal to decimal:
Picture

Note that the octal number must be prefixed with "0o" (a zero and and then a lowercase o)

I think you get the idea. How convenient! Thanks Google :)