Utilities

Data storage converter

Convert bytes, KB, MB, GB, and TB, plus binary KiB, MiB, GiB, and bits, instantly and entirely in your browser. Nothing is uploaded.

The amount to convert. Leave empty or non-numeric for no result.

Decimal and binary, side by side

Storage has two number systems that look alike but disagree. Decimal units (KB, MB, GB, TB) step by 1000; binary units (KiB, MiB, GiB, TiB) step by 1024. This converter carries both so you can move between, say, a marketed “500 GB” drive and the GiB your operating system reports without doing the powers-of-two arithmetic by hand.

Runs entirely on your device

There is no server, no account, and no upload. The math is a few lines of JavaScript that execute in your browser, so the tool works offline and your figures stay private, which matters when you are sizing backups, quotas, or anything you would rather not paste into a website.

Frequently asked questions

Does this send my data anywhere?
No. The converter is plain JavaScript that runs entirely in your browser. There is no upload, no network request, and no account. The numbers you type never leave your device.
What is the difference between a KB and a KiB?
A kilobyte (KB) is decimal: 1 KB = 1000 bytes, the SI definition used for storage marketing and most file sizes. A kibibyte (KiB) is binary: 1 KiB = 1024 bytes, the IEC definition operating systems often use. The 2.4% gap per step is why a “1 TB” drive shows as ~931 GiB.
Why does my hard drive show less space than advertised?
Drive makers count in decimal (1 TB = 1,000,000,000,000 bytes) while many operating systems display the binary equivalent (TiB) but label it “TB”. Converting the same byte count to TiB here shows exactly where the missing ~7% goes.
Can I convert bits to bytes?
Yes. A bit is one-eighth of a byte, so the converter includes it. This is handy for translating network speeds (quoted in bits per second) into file-transfer sizes (quoted in bytes).
How precise are the results?
Conversions use exact integer factors (powers of 1000 for decimal units, powers of 1024 for binary), so whole-unit conversions are exact. Long fractional results are rounded to twelve significant figures for readability.