Binary / Decimal / Hex Converter
Type a number in binary, decimal, hex or octal — this tool auto-detects the base and shows all four representations.
Prefixes: 0b binary, 0o octal, 0x hex. Without a prefix, 0/1-only is read as binary, 0–9 as decimal, and anything with a–f as hex.
How to use
Type a number using a prefix (0b101, 0xFF, 0o17) or plain digits. The tool detects the base and instantly shows the binary, decimal, hexadecimal and octal values.
Frequently asked questions
Is this base converter free?
Yes, completely free with no limits.
How does auto-detection work?
Use prefixes 0b (binary), 0x (hex), 0o (octal), or type plain digits — plain 0/1-only input is read as binary, 0-9 as decimal, digits with a-f as hex.
Does it handle large numbers?
Yes, it uses BigInt so very large values work.
ToolZap is free forever
Every tool runs 100% in your browser — no uploads, no signups. If a tool saved you time, consider supporting us with a small donation.
💛 Donate via PayPal