TR

Home / Convert / Number Base Converter (Binary, Decimal, Hex)

🔢 Number Base Converter (Binary, Decimal, Hex)

Number Base Converter (Binary, Decimal, Hex) – get instant, free results right on your device.

WhatsAppTelegramX

Only non-negative integers are supported; full precision is preserved for large numbers. Not an official institution.

Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy

What is Number Base Converter (Binary, Decimal, Hex)?

A number base determines how many digits are used to write a number. In everyday life we use decimal (0-9); computers use binary (0 and 1), and programmers often use hexadecimal (0-9 and A-F) and octal systems.

When you enter a number in the tool and choose the input base, the number is shown in all four bases at once. For example, decimal 255 is 11111111 in binary, 377 in octal, and FF in hexadecimal. The 0x, 0b, and 0o prefixes, spaces, and underscores are ignored in the input. Because the calculation uses BigInt, you get exact results even for very large numbers.

Only non-negative integers are supported. Decimal numbers and the two's complement representation of negative numbers are not included in this tool.

How to use

Fill in these fields: Number, Input base. Then press the button; the result appears on the same page and your data never leaves your device.

Formula

255 = 11111111 (2) = FF (16)

Example

255 = 11111111 (2) = FF (16)

Worked examples and tips

Example 1: You want to see the number 255 in other bases. If you set the input base to decimal and type 255, you get binary 11111111, octal 377, and hexadecimal FF. This is how FF, the channel value of white in CSS, comes out.

Example 2: A microcontroller document mentions the binary value 1011. If you select binary as the base and type 1011, the decimal equivalent is 11, the octal equivalent is 13, and the hexadecimal equivalent is B. By hand you would work out 8 + 2 + 1 = 11; the tool shows it instantly.

Example 3: You see 1F4 in an error code. If you select hexadecimal and enter it, decimal 500, binary 111110100, and octal 764 come out. The 755 in Linux permissions, entered as octal, gives decimal 493, hexadecimal 1ED, and binary 111101101; the three digits correspond, in order, to the bits 111, 101, 101.

Tips and common mistakes: First choose the input base correctly; whether you read 10 as decimal or binary changes the result completely. In binary input only 0 and 1 are valid, and in octal the digits 0-7. In hexadecimal, letters can be written in upper or lower case, but the output comes in uppercase. Do not type the prefix 0x or 0b; enter only the digits.

When is it used? When reading color codes, bit masks, memory addresses, and file permissions.

Frequently asked questions

Number Base Converter (Binary, Decimal, Hex) – how to use it?

Fill in the fields and press the button; the result appears instantly. Example: 255 = 11111111 (2) = FF (16)

Number Base Converter (Binary, Decimal, Hex) – is it free, and is my data stored?

Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.

Related guide

Related tools

📏Kilometers ↔ Miles ConverterConvert kilometers to miles and miles to kilometers.🌡️Celsius ↔ Fahrenheit ConverterConvert temperature between Celsius and Fahrenheit.🐎kW ↔ HP ConverterConvert engine power between kW and horsepower (PS).🎨HEX ↔ RGB ConverterConvert a color code between HEX and RGB.⚖️Weight ConverterWeight Converter – get instant, free results right on your device.📏Length ConverterLength Converter – get instant, free results right on your device.