二进制、十六进制与八进制转换器 — Programmers juggle number bases every day: IP addresses in decimal, memory addresses in hex, masks and flags in binary. Converting between them by hand is tedious and error-prone.
Conversions run locally in your browser — nothing is sent to a server.
Was 二进制、十六进制与八进制转换器 useful?
二进制、十六进制与八进制转换器是什么?
Programmers juggle number bases every day: IP addresses in decimal, memory addresses in hex, masks and flags in binary. Converting between them by hand is tedious and error-prone.
Type a number in any of the four common bases — binary, octal, decimal, or hexadecimal — and see it converted into all the others instantly, with optional prefixes for convenience.
使用方法
-
Pick the input base
Choose binary, octal, decimal, or hexadecimal for what you are typing.
-
Type a number
The other three representations update live as you type.
-
Copy what you need
Each result has a copy button, with or without prefixes like 0x and 0b.
示例
The byte 255
The maximum value of a single byte in every base.
decimal 255
结果: binary 11111111 · octal 377 · hexadecimal FF
常见问题
相关指南
相关工具
Last reviewed: 2026-11-21