Search 93+ free tools… (e.g. json, vpn, password) ⌘K
Link Tools Dereferer Hide Referrer Link URL Shortener Affiliate Cloaker PayPal Links PayPal DonationPayPal Links Privacy Tools Password Generator Cloudflare Resolver My Referrer Torrent Tools Magnet → Torrent Torrent → Magnet Torrent Editor Pirate Bay Proxies Movierulz Proxies ExtraTorrent Proxies Dev Tools Base64 Encoder Hash Generator HTTP Headers Disposable Email Checker Company Blog About Us Contact Anonymize Free
Dev Tool

Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal instantly. Edit any field to update all others.

Binary (Base 2)
01
Octal (Base 8)
0-7
Decimal (Base 10)
0-9
Hexadecimal (Base 16)
0-9, A-F
BIT VISUALISATION
CUSTOM BASE CONVERTER
Number
From base
To base
Result
—
🔢
Edit any field
Change any value and all other bases update instantly. No convert button needed.
💡
Bit visualiser
See the binary representation of any number as individual bits with position labels.
🔧
Custom bases
Convert between any base from 2 to 36 — including base 32, base 58 and others.

Frequently Asked Questions

What number bases does the converter support?
The converter supports the four most common bases used in computing: binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a value in any base and the tool instantly shows the equivalent in all other bases.
Why are hexadecimal numbers used in computing?
Hexadecimal is used because it maps neatly to binary — each hex digit represents exactly four binary bits. This makes it much more compact and readable than raw binary for memory addresses, color codes, byte values, and machine code.
Can I convert negative numbers?
The converter handles positive integers. For negative numbers in binary, you would need to work with two's complement representation, which is the convention used by most processors. Enter the magnitude and apply two's complement rules manually if needed.
What are number bases used for in programming?
Binary (base 2) is the fundamental language of computers — all data is stored as 0s and 1s. Hexadecimal (base 16) is used to represent binary data compactly — memory addresses, color codes (#FF5733), byte values. Octal (base 8) is used in Unix file permissions (chmod 755).
How do I convert binary to decimal manually?
Multiply each bit by 2 raised to its position (counting from 0 on the right). 1011 in binary = 1×8 + 0×4 + 1×2 + 1×1 = 8+0+2+1 = 11 in decimal.
What is the maximum number I can convert?
JavaScript handles integers safely up to 2^53 - 1 (9,007,199,254,740,991). For larger numbers the converter uses BigInt internally where supported.
🛡️
Your IP address and DNS queries are visible to your ISP. Protect your privacy with a trusted VPN — tested and recommended by Anonymiz.
See Recommended VPNs →

Number bases in everyday computing

A number base is how many digits a counting system uses. People count in base 10, while computers work in base 2. This converter translates between binary, octal, decimal and hexadecimal, shows the bits visually and supports custom bases up to 36.

Worked example

Decimal 200 is 11001000 in binary, 310 in octal and C8 in hexadecimal. Reading binary from the right, the positions stand for 1, 2, 4, 8, 16, 32, 64 and 128, and here 128 + 64 + 8 = 200.

Common mix-ups

Related articles

Related Tools

📦
Base64 Encoder
Encode and decode Base64
📋
JSON Formatter
Format and validate JSON
🔄
CSV to JSON
Convert CSV to JSON
🔄
JSON to CSV
Convert JSON to CSV
📝
Markdown to HTML
Convert Markdown to HTML
🔏
Hash Generator
Generate MD5, SHA-256 hashes
Done!