File Size Converter
Compare decimal and binary file sizes from one amount. Copy exact values or download a JSON report.
- Free
- Works Offline
- No Uploads
Convert One Size Across Decimal and Binary Units
- Open the HTML, review Security Check, then select Continue.
- Enter a nonnegative amount, choose its source unit, or select Open Sample.
- Choose Exact or an output precision of up to 2, 6 or 12 decimal places, then select Convert Size.
- Compare the unit bases. Copy uses the exact amount and unit, including when a rounded value is shown.
- Use Download JSON for a separate local report including the source, precision, all values and their bases.
Compare the Exact Size in Each Unit
- Use one amount for bytes to MB, GB and their binary equivalents.
- See why 1 MiB equals 1,048,576 B and 1.048576 MB.
- Save a JSON report with both exact and displayed values.
Formats and Compatibility
| Input | Use the local file size converter to enter one nonnegative decimal amount and choose its unit. A decimal point and optional comma thousands grouping are supported. |
|---|---|
| Output | The free file size converter shows B, kB, KiB, MB, MiB, GB, GiB, TB and TiB with the exact byte basis alongside each value. |
| Browser | A modern browser with local file support. |
| Scope | For nonnegative decimal sizes of up to 120 digits. Converts B through TB and TiB using exact byte bases. |
| Operating Systems |
Local Processing Without Uploads
Use the file size converter without uploading anything. The browser-based workbench handles the number on your device, with no upload or account.
Select Open Sample to see the workflow with the included example.
Formats and Compatibility
Decimal units use powers of 1,000 and binary units use powers of 1,024. The JSON report includes the input, selected display precision, exact values and any rounded values.
Copy an Exact Value or Save the Full Report
Each unit has an exact-value Copy button. Choose Exact or round the displayed values half up to 2, 6 or 12 decimal places. A changed rounded value is marked with ≈.
Frequently Asked Questions
Can I use the file size converter offline?
Yes. Extract the Tool ZIP and open FileSizeConverter.html to calculate on your device.
Where is the file size converter download?
Download Tool ZIP contains the offline calculator. Download JSON inside the tool saves the separate conversion result.
Can I use the file size converter in browser mode?
Yes. Enter an amount and its unit, then choose Convert Size. It works with a supported browser.
How do MB and MiB differ?
A megabyte is 1,000,000 bytes. A mebibyte is 1,048,576 bytes. Both bases are shown in the workbench.
How does fractional rounding work?
Exact keeps every decimal digit. When you choose a rounded display, a midpoint rounds up at the selected number of decimal places. Copy and the exact value in the report retain every digit.
Is there a limit on numeric input?
Enter up to 120 digits across the whole and fractional parts. Use ordinary decimal notation with a decimal point and optional comma thousands grouping.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.