File Size Converter
Convert between bytes, KB, MB, GB, TB, and PB
Common File Sizes
Report a Problem
Found a bug or have a suggestion? Help us improve this tool.
What is this tool?
File size unit converter quickly transforms between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes. Supports both SI (decimal, 1000-based) and IEC (binary, 1024-based) units (KB/MB/GB vs KiB/MiB/GiB). Essential for developers, IT professionals, and anyone working with digital storage who needs accurate unit conversions.
How to use
- 1
Enter value
Type the number you want to convert.
- 2
Select units
Choose source and target units (B/KB/MB/GB/TB/PB).
- 3
Get result
See the converted value in all common units simultaneously.
Frequently Asked Questions
What is the difference between KB and KiB?
KB (kilobyte) = 1000 bytes (SI decimal), while KiB (kibibyte) = 1024 bytes (IEC binary). Storage manufacturers use KB/MB/GB (1000-based) making drives seem larger, while operating systems use KiB/MiB/GiB (1024-based). A "500 GB" drive is actually about 465 GiB.
MB vs MiB?
MB is 1 million bytes. MiB is 1.05 million. Difference is 4.86 percent.
Can I use this in production?
This tool is designed for development and testing. For production use established libraries with security audits.