Morphy
Home / Base Converter

Base Converter (Binary / Octal / Decimal / Hex)

Enter a value in any one field and it's converted automatically into the other bases. Large integers are fine too.

Enter a number in any of the fields to begin.
Decimal (DEC)
Hex (HEX)
Octal (OCT)
Binary (BIN)

About base (radix) conversion

In computing, besides decimal, binary, octal, and hexadecimal are all commonly used. This tool converts numbers between them. Enter a value in any one field and the remaining fields update automatically.

Input rules

All calculation happens in your browser, and the values you enter are never sent anywhere.

FAQ

Can it convert very large numbers?

Yes. It uses BigInt internally, so even integers with many digits are converted accurately.

Do I need “0x” for hex?

No. ff and 0xff convert the same way.

Can it convert decimals?

This tool is for integers only. Values with a decimal point aren't supported.

Is my data sent anywhere?

No. Everything is processed in your browser and nothing is sent.

Related tools