代码、数据与二维码工具

字节单位换算

字节单位换算;输入、输出与参数范围在实施前细化。

优先本地处理无需注册隐私说明 ↗

使用步骤

如何使用

  1. Enter a non-negative value and choose its unit.
  2. Convert to see decimal and binary storage units.
  3. Copy the complete conversion locally from your browser.

Decimal and binary units

Decimal units use powers of 1000: KB, MB, GB, TB, and PB. Binary units use powers of 1024: KiB, MiB, GiB, TiB, and PiB.

Clear input validation

Enter a finite, non-negative decimal value without separators or unit text. Invalid, negative, and impractically large values are rejected before conversion.

Private browser conversion

Your value is parsed and converted locally in your browser. Nothing is uploaded or stored.

常见问题

你可能还想知道

What is the difference between KB and KiB?

KB is 1,000 bytes, while KiB is 1,024 bytes.

Can I convert bits?

Yes. Select Bits (bit) as the input unit; results include bytes and all supported storage units.

Are decimal fractions supported?

Yes. Values such as 1.5 or 2e3 are accepted, but separators and unit text are rejected.

Does this tool upload my data?

No. Conversion runs entirely in your browser.