Data Size Converter
Convert between bytes, kilobytes, megabytes, gigabytes, bits, and their binary (KiB, MiB) cousins.
Bits
bits (b)
SI (powers of 1000)
bytes (B)
kilobytes (KB)
megabytes (MB)
gigabytes (GB)
terabytes (TB)
petabytes (PB)
Binary (powers of 1024)
kibibytes (KiB)
mebibytes (MiB)
gibibytes (GiB)
tebibytes (TiB)
pebibytes (PiB)
SI vs binary
SI units (KB, MB, GB) use powers of 1,000 — that's what hard-drive and ISP marketing uses. Binary units(KiB, MiB, GiB) use powers of 1,024 — that's what RAM, operating systems, and most file managers use. 1 MB = 10⁶ bytes; 1 MiB = 2²⁰ bytes ≈ 1.0486 MB.
1 byte = 8 bits. Network speeds are usually quoted in bits per second (Mbps), file sizes in bytes — a 100 Mbps link transfers ~12.5 MB/s.
You might also like
- CSV ↔ JSON ConverterConvert CSV to JSON or JSON to CSV with quoted fields and configurable delimiters.
- cURL ConverterParse a curl command and emit fetch, Node https, Python requests, Ruby Net::HTTP, Go net/http, PowerShell, HTTPie, and wget equivalents.
- IP Address ConverterConvert IPv4 between dotted decimal, integer, hex, and binary notations. Compress and expand IPv6.
- JSON Schema → TypeScriptEmit TypeScript types from a JSON Schema — enum/oneOf/allOf/$ref/definitions all handled.