Binary & DecimalAll Units100% Private

1 GB =

1,024 MB

Using binary (1024) multiplier

Bytes1,073,741,824
Kilobytes1,048,576
Megabytes1,024
Terabytes0.000977
Petabytes0.000001

How It Works

1

Enter Value

Type a data size value.

2

Pick Mode

Choose binary (1024) or decimal (1000) mode.

3

Convert

See all unit conversions at once.

Frequently Asked Questions

What is the difference between binary and decimal?
Binary uses 1024 as the multiplier (used by operating systems), while decimal uses 1000 (used by storage manufacturers).
What units are supported?
Bytes, Kilobytes (KB), Megabytes (MB), Gigabytes (GB), Terabytes (TB), and Petabytes (PB).
Why does my hard drive show less space than advertised?
Manufacturers use decimal (1000-based) units, while your OS uses binary (1024-based). A 1 TB drive is 1,000,000,000,000 bytes, which is about 931 GiB.
Share:

About Data Storage

What this tool does

Data converter tools transform structured data between JSON, CSV, YAML, XML, TOML, SQL, TypeScript interfaces, Go structs, and more. They handle nested objects, arrays, and type inference automatically.

Why use this tool

APIs return JSON, spreadsheets export CSV, infrastructure config uses YAML, and legacy systems speak XML. Being able to convert between these formats without writing a custom script saves hours of tedious data wrangling.

How it works

The tool parses your input format into an in-memory object tree, then serializes that tree into the target format. Type information (string, number, boolean) is inferred from values and mapped to the closest equivalent in the output format.

Pro tip

When converting CSV to JSON, the first row is treated as column headers by default. If your CSV has no headers, toggle that option off to get array-of-arrays output instead.

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools