Byte Converter
Convert between bytes, KB, MB, GB, TB (decimal) and KiB, MiB, GiB, TiB (binary).
All conversions
Decimal (SI)
Bytes (B)
1000000
KB (1,000 B)
1000
MB (1,000 KB)
1
GB (1,000 MB)
0.001
TB (1,000 GB)
1.0000e-6
Binary (IEC)
KiB (1,024 B)
976.5625
MiB (1,024 KiB)
0.95367432
GiB (1,024 MiB)
0.00093132257
TiB (1,024 GiB)
9.0949e-7
Decimal vs binary storage units
Storage is measured in two systems. Decimal (SI): 1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes — used by hard drive manufacturers and internet speeds. Binary (IEC): 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes — used by operating systems and RAM. This is why a 1 TB hard drive shows as ~931 GiB in Windows. Related: data storage converter.
Private & free — this tool runs entirely in your browser.
Recommended: IndieKit — Ship your Next.js startup in days.affiliate
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.