TOOLDENDEVELOPERON-DEVICE
File Size Converter: Bytes, KB, MB, GB, TB
Convert between bytes, KB, MB, GB, TB, and PB. Uses binary (1024-based) conversion.
HOW TO USE
- 1Enter a file size value on the left.
- 2Pick the unit you are converting from on the left (bytes or bits: B, KB, MB, GB, TB, PB, b, Kb, Mb, Gb, Tb, Pb).
- 3Pick the target unit on the left, the result appears live on the right.
- 4Use the round Swap button to flip the units, or Reset to start over.
EXAMPLE
INPUT
1024 MB → GB
OUTPUT
1 GB (1,073,741,824 bytes)
FAQ
What does binary (1024-based) conversion mean?
Each step up multiplies by 1024 instead of 1000: 1 KB = 1024 bytes, 1 MB = 1024 KB, and so on. This matches how operating systems report file sizes.
Which units are supported?
Bytes and bits: B, KB, MB, GB, TB, PB and b, Kb, Mb, Gb, Tb, Pb, twelve units in any direction, with 8 bits to a byte.
Why does my file show a different size in the OS?
Operating systems use 1024-based units while some storage vendors advertise 1000-based. This tool uses the 1024 convention, matching most file managers.
Is my data uploaded?
No. Conversion happens entirely in your browser.