About this tool
Convert byte sizes between B, KB, MB, GB, TB, and PB. Saves time when logs, design specs, or infra configs use a different format than your code expects.
Paste a raw byte count as a plain number (for example 1048576). Scan the table of B, KB, MB, GB, TB, and PB equivalents. Example — One mebibyte in common units: try `1048576` and expect something like `1048576 B 1024.0000 KB 1.0000 MB 0.0010 GB`. Uses binary (1024) scaling, not decimal SI (1000).
Input must be a bare byte count — strings like “1.5 MB” are not parsed. See also: Number Base Converter. Runs in your browser — nothing you paste gets uploaded.
How to use
- Paste a raw byte count as a plain number (for example 1048576).
- Scan the table of B, KB, MB, GB, TB, and PB equivalents.
- Use the unit that matches your storage UI, CDN metric, or log line.
- Prefer this when translating upload limits or artifact sizes from bytes.
Example
One mebibyte in common units
Input
1048576
Output
1048576 B 1024.0000 KB 1.0000 MB 0.0010 GB
Uses binary (1024) scaling, not decimal SI (1000).
Limitations
- Input must be a bare byte count — strings like “1.5 MB” are not parsed.
- Uses 1024-based units; decimal megabytes used by some disk vendors will not match.
- Does not convert between bit rates (Mbps) and byte sizes.
Related tools
1Frequently asked questions
What does the Bytes Converter do?
Convert byte sizes between B, KB, MB, GB, TB, and PB. Runs in your browser — no install, no account.
How do I use the Bytes Converter?
Paste a raw byte count as a plain number (for example 1048576). Scan the table of B, KB, MB, GB, TB, and PB equivalents. Use the unit that matches your storage UI, CDN metric, or log line. Prefer this when translating upload limits or artifact sizes from bytes.
Is the Bytes Converter free?
Yes. No signup, no usage limits, no paywall.
Does the Bytes Converter upload my data?
No. Processing happens locally in JavaScript. Your input is not uploaded, stored, or logged.
What are the limitations of the Bytes Converter?
Input must be a bare byte count — strings like “1.5 MB” are not parsed. Uses 1024-based units; decimal megabytes used by some disk vendors will not match. Does not convert between bit rates (Mbps) and byte sizes.