Number Base Converter

Generators & Converters

Convert numbers between binary, octal, decimal, hexadecimal, and custom bases.

Base 2

0b11111111

Base 8

0o377

Base 10
Base 16

0xFF

Binary Representation

1111 1111
8 bits needed1 byte(s)Hex: 0x000000FF

Custom Base

(2–36)
7V

Bitwise Operations (result in hex)

NOTFFFFFF00
leftShift11FE
rightShift17F
AND 0xFFFF
OR 0xFFFF
XOR 0xFF00

Quick Reference

000000
110001
220010
330011
440100
550101
660110
770111
881000
991001
10A1010
11B1011
12C1100
13D1101
14E1110
15F1111

What is Number Base Converter?

Number Base Converter converts integers between any number base from 2 (binary) to 36. Enter a value in binary, octal, decimal, or hexadecimal and see all representations simultaneously. Also shows bitwise operations and a quick nibble reference table.

How to use Number Base Converter

1

Enter a number

Type a value into any of the four base fields — Binary (2), Octal (8), Decimal (10), or Hexadecimal (16). All other fields update instantly.

2

View all bases simultaneously

All four base representations appear side by side so you can compare them at a glance.

3

Use a custom base

Enter any base from 2 to 36 in the Custom Base field to convert to unusual number systems.

4

Check the binary breakdown

The Binary Representation panel shows the value in grouped nibbles (4-bit groups) and tells you how many bits and bytes it requires.

5

Explore bitwise operations

The Bitwise Operations panel shows NOT, left shift, right shift, AND, OR, and XOR with 0xFF for the current value.

Who uses Number Base Converter?

Embedded systems programming

Firmware engineers

Convert between hexadecimal register addresses, binary bitmasks, and decimal values when writing low-level C or Assembly code.

Colour code conversion

Web designers

Convert RGB decimal values to hexadecimal for CSS, or verify that a hex colour code matches the intended RGB triple.

Networking & subnetting

Network engineers

Convert IP addresses and subnet masks between decimal and binary to manually compute network ranges and host counts.

Related Tools

FAQ

Which number bases are supported?+
Any base from 2 (binary) to 36 is supported. Common bases 2, 8, 10, and 16 have dedicated input fields.
Can it handle negative numbers?+
Yes — negative numbers are supported with proper sign handling.
Does it support floating point numbers?+
Integer conversion is fully supported. Floating-point base conversion is a planned feature.

More Tools

View all