进制转换器 — Uttir
Skip to main content

进制转换器

在二进制、八进制、十进制和十六进制之间转换。在任意输入框输入,其余三个实时更新。

进制转换器 — Computers represent numbers in different bases. Decimal (base 10) is what humans use. Binary (base 2) is what computers actually use internally. Octal (base 8) and hexadecimal (base 16) are compact ways to write binary, used in file permissions, color codes, memory addresses, and more.

Math runs locally. No data leaves your browser.

Was 进制转换器 useful?

进制转换器是什么?

Computers represent numbers in different bases. Decimal (base 10) is what humans use. Binary (base 2) is what computers actually use internally. Octal (base 8) and hexadecimal (base 16) are compact ways to write binary, used in file permissions, color codes, memory addresses, and more.

Type a value in any of the four fields and the other three update live. Handles arbitrary-precision integers up to 2^53 cleanly; for very large numbers, use the BigInt-safe API.

使用方法

  1. Type a value

    In any of the four base fields — binary, octal, decimal, or hex.

  2. Read the conversions

    The other three fields update live.

  3. Copy

    Select and copy whatever form you need.

示例

A typical byte

255 in every base.

结果: Bin 11111111 · Oct 377 · Dec 255 · Hex FF

IPv4 octet

192.168.0.1 — each octet in decimal, binary, hex.

结果: 192 → 11000000 → C0 · 168 → 10101000 → A8

常见问题

相关指南

相关工具

Last reviewed: 2026-11-21