Number Base Converter
Generators & ConvertersConvert numbers between binary, octal, decimal, hexadecimal, and custom bases.
0b11111111
0o377
0xFF
Binary Representation
Custom Base
Bitwise Operations (result in hex)
FFFFFF001FE7FFFFF00Quick Reference
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
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.
View all bases simultaneously
All four base representations appear side by side so you can compare them at a glance.
Use a custom base
Enter any base from 2 to 36 in the Custom Base field to convert to unusual number systems.
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.
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
Unit Converter
Convert between units of length, weight, temperature, speed, and more.
Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa.
Secure Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 and other cryptographic hashes.
Encoder / Decoder
Encode and decode Base64, URL, HTML, Unicode, and more.
FAQ
Which number bases are supported?+
Can it handle negative numbers?+
Does it support floating point numbers?+
More Tools
View all