进制转换器
二进制、八进制、十进制、十六进制互转
🔒 100% client-side — your data never leaves this pageEnter a value in any field — others update instantly
Binarybase 2
Octalbase 8
Decimalbase 10
Hexadecimalbase 16
About this tool
在四种最常用的进制之间互相转换:二进制(2进制)、八进制(8进制)、十进制(10进制)和十六进制(16进制)。在任意输入框输入数值,其他框即时更新。
Frequently Asked Questions
What is hexadecimal used for?
Hexadecimal (base 16) is widely used in programming to represent binary data more compactly. It appears in color codes (#FF5733), memory addresses, and encoding schemes.
What is binary?
Binary (base 2) uses only 0 and 1. It is the fundamental language of computers, as electronic circuits naturally represent two states: on and off.
How do I convert decimal to binary?
Repeatedly divide the number by 2 and record the remainders from bottom to top. For example, 13 in binary is 1101. This tool does it instantly for you.