Hex Calculator

Convert a whole number between decimal, hexadecimal and binary notation.

Conversion runs in your browser. This tool does not save your input.

How to use Hex Calculator

Type or paste your text into Input. The result updates automatically. Copy result copies the output, and Clear input starts again.

Try 255, 0xff or 0b11111111. All three represent the same positive integer.

What this tool does and does not do

Enter decimal by default, 0x for hexadecimal, or 0b for binary. This page converts integer bases; it does not evaluate arbitrary expressions or handle fractions.

Compatibility and privacy

Test the result in the destination app before sharing it. For styled Unicode, character appearance and screen-reader support can vary. Keep essential information in ordinary readable text. Conversion is local to this page; hosting and any enabled analytics are separate services.

Related text tools

Font generator ยท Cursive font generator ยท All tools