Convert Binary, Hex and Decimal with Our New Number Converter

A debugger shows FF, a specification says 255, and a byte dump contains 11111111. They can all describe the same value. Our new number base converter puts those representations side by side, so you can check a number without doing the arithmetic in your head. It is free, runs in your browser and works in English and French.

Read the value behind the digits

Start with hexadecimal 2A: it becomes decimal 42, binary 101010 and octal 52. Binary makes individual bits easy to inspect; hex keeps a long bit pattern readable. The converter also preserves large integers exactly, including values that ordinary JavaScript numbers cannot represent without losing digits.

That is useful outside a debugger, too. The 80 channel in a hex color means 128 in decimal, while octal file permissions 755 correspond to decimal 493. For complete colors, palettes and contrast checks, our Color Studio introduction shows a more visual way to work.

Check what a byte really means

The hex byte FF can mean 255 as an unsigned integer or -1 as an 8-bit signed integer. The bits have not changed; their interpretation has.

Open Machine formats when that distinction matters. You can inspect signed integers and IEEE 754 floating-point encodings, or decode hex bytes using the expected byte order. This helps when a packet or file contains a value that looks wrong until you read it the right way.

Keep a useful comparison close at hand

Choose the equivalent bases you want, arrange them in a useful order and copy the results. Programming notation options add prefixes or suffixes when you need a value in code. A share link keeps the input, selected equivalents and display settings together, ready to bookmark or send to a colleague; anyone with the link can read those values.

Try the number base converter with a value from your own work. The guide below it explains the conversions and includes code examples in JavaScript, Python, PHP, Java and C#.

Premium is coming soon

An optional premium subscription to remove ads is planned. Subscriptions are not available yet.

You can keep using our free tools without an account.