01
Number Base Converter
Binary, octal, decimal, hexadecimal
Base 2
0b
Base 8
0o
Base 10
Base 16
0x
Quick examples
Quick reference
DECBINOCTHEX000011112102231133410044510155611066711177810001089100111910101012A11101113B12110014C13110115D14111016E15111117F
How to use Number Base Converter
- 1Enter a number in any base (binary, octal, decimal, hex)
- 2Choose the number base of your input
- 3The result converts to all other bases instantly
- 4Copy the converted number for your code
Tips & Best Practices
- •Binary (base 2): only 0 and 1
- •Octal (base 8): 0-7
- •Hexadecimal (base 16): 0-F
- •Essential for programming, bitwise operations, and memory addressing
Frequently Asked Questions
Why do I need base conversion?
Different programming contexts use different bases. Memory addresses use hex, bit operations use binary.
How do I know which base I need?
Binary for bitwise ops, Hex for colors/memory, Octal for Unix permissions.
Privacy: All processing happens in your browser. Your files never leave your device or are uploaded to any server.
ZapFiles is free thanks to advertising · No account needed · Files processed locally