Bytes Converter
Convert bytes to KB/MB/GB/TB (and back). Choose decimal (1000-based) or binary (1024-based) units to match your use case.
Bytes Converter tool
Enter a value, select input unit + standard, then convert. Negative values are not allowed.
Auto uses 1000 for KB/MB/GB/TB and 1024 for KiB/MiB/GiB/TiB.
| Unit | Value |
|---|
Privacy: runs locally in your browser. No inputs are stored or transmitted.
Conversions work by converting the input to bytes first, then converting bytes to the target unit.
Decimal: KB = 1000 B, MB = 1000² B, ...
Binary: KiB = 1024 B, MiB = 1024² B, ...
Examples
- 1,048,576 B → 1 MiB (binary)
- 1,000,000 B → 1 MB (decimal)
- 2 GB → 2,000,000,000 B (decimal)
FAQ
- What’s the difference between decimal and binary units?
Decimal uses powers of 1000 (1 KB = 1000 bytes). Binary uses powers of 1024 (1 KiB = 1024 bytes). Storage marketing often uses decimal, while operating systems may show binary-equivalent sizes.
- Is KB the same as KiB?
Strictly, no. KB is decimal (1000). KiB is binary (1024). Some software labels KiB values as KB, which can be confusing.
- Which should I choose for files on my computer?
If you want to match many OS file size displays, try the binary option (KiB/MiB/GiB). If you want to match disk/ISP marketing (e.g., 1 TB drive), use decimal.
- Are my inputs stored?
No. This converter runs locally in your browser.