Diysb Tools

Byte Converter

Convert data values between different byte units, supporting both SI (decimal) and IEC (binary) systems. It supports multiple lines conversion.

Number Tools
Input Values
Converted Output
Tool options
Conversion Options

Select the unit of the input values you are providing (e.g., KB, MB, GiB).

Select the unit you want the input values to be converted into.

Number of decimal places to display in the converted output.
Byte Converter Examples

Convert Gigabytes to Megabytes

This example converts a list of storage values in Gigabytes (GB) into Megabytes (MB) using the SI system. Each line represents a different storage size. The output shows the same values converted to MB with the specified precision.

1 2.5 10 0.75 50
1 2.5 10 0.75 50
1000 2500 10000 750 50000
1000 2500 10000 750 50000
Conversion Options

Select the unit of the input values you are providing (e.g., KB, MB, GiB).

Select the unit you want the input values to be converted into.

Number of decimal places to display in the converted output.

Convert MiB to GiB (IEC System)

This example converts values in Mebibytes (MiB) to Gibibytes (GiB) using the IEC binary system. Each line of input represents a different memory size, and the output shows the conversion rounded to 2 decimal places.

1024 2048 5120 256 8192
1024 2048 5120 256 8192
1 2 5 0.25 8
1 2 5 0.25 8
Conversion Options

Select the unit of the input values you are providing (e.g., KB, MB, GiB).

Select the unit you want the input values to be converted into.

Number of decimal places to display in the converted output.

Cross-System Conversion: GB to GiB

This example demonstrates a cross-system conversion from SI units (GB) to IEC units (GiB). Since GB and GiB are slightly different, the output shows fractional values with high precision. This is useful when comparing storage reported by operating systems vs manufacturers.

1 5 10 50 100
1 5 10 50 100
0.931 4.655 9.313 46.566 93.132
0.931 4.655 9.313 46.566 93.132
Conversion Options

Select the unit of the input values you are providing (e.g., KB, MB, GiB).

Select the unit you want the input values to be converted into.

Number of decimal places to display in the converted output.

Convert Bytes to Bits

This example converts values from Bytes (B) to Bits (b). Since 1 Byte = 8 Bits, each input value is multiplied by 8. The precision is set to 0 because the result is always an integer.

1 5 10 50 100
1 5 10 50 100
8 40 80 400 800
8 40 80 400 800
Conversion Options

Select the unit of the input values you are providing (e.g., KB, MB, GiB).

Select the unit you want the input values to be converted into.

Number of decimal places to display in the converted output.