Converter

File Size Converter

Convert storage numbers from bytes through petabytes with explicit binary (1024) or decimal (1000) bases — live grid, swap, and copy. Computation stays in your browser, matching the local-first trust model of APK Analyzer and APK String Extractor: nothing you type is uploaded. For typical APK / asset ranges you can also use Android File Size Converter (B–TB).

Ad placement — top banner
Summary
All units (from your input)
Ad placement — mid rectangle

What this converter is for

Engineers, Android developers, and content authors constantly translate between B, KB, MB, GB, TB, and PB when comparing CI artifacts, object-storage quotes, download estimates, and UI copy. This page does pure arithmetic in JavaScript — no server round-trip for your numbers — similar to how APK Analyzer inspects packages without uploading them.

Binary (1024) vs decimal (1000)

One kibibyte is 1024 bytes; many UIs still label that as “KB”. Storage vendors often use 1 KB = 1000 B, 1 MB = 1000 KB, and so on. The mismatch is why a “1 TB” disk can look like ~0.91 TiB in an OS that uses 1024-based powers. Toggle the base here to match the document you are reconciling.

Petabytes and limits

The grid includes PB for data-center and backup rough checks. JavaScript represents numbers as IEEE doubles; for everyday files and APKs you are safe. If you need integer-exact bookkeeping at extreme scale, use big-integers or your billing system’s API rather than any browser float utility.

How to use it

  1. Step 1: Enter a non-negative value and choose From / To units.
  2. Step 2: Pick binary (1024) or decimal (1000) to mirror your spreadsheet, vendor sheet, or OS display.
  3. Step 3: Read the summary and the full B→PB row; use Copy summary or tab-separated Copy all units.
  4. Step 4: Tap Swap units to flip directions without retyping.

Related on DroidXP

Frequently Asked Questions

Does DroidXP upload the sizes I type?

No. Every conversion runs in your browser with JavaScript. Your numbers are not sent to DroidXP servers — the same local-first approach as APK Analyzer and APK String Extractor.

Should I use 1000 or 1024?

Use 1024 for most OS, memory, and many engineering workflows. Use 1000 when aligning with SI-style storage marketing, some cloud SKUs, or network-style kilo = 1000.

Is KB here the same as KiB?

When the base is 1024, KB/MB/GB behave like KiB/MiB/GiB in practice (powers of 1024). Labels stay KB/MB for familiarity; the important part is which base you selected.

Why does a “1 TB” drive look smaller in my OS?

Manufacturers often advertise decimal terabytes (1012 bytes) while Explorer and macOS often display tebibyte-style counts (powers of 1024) — the same raw bytes can read as different “TB”.

How large a value can I convert?

JavaScript uses double-precision floats; results stay accurate for typical file and APK sizes. Extremely large petabyte-scale values may lose the last integer digits of precision — fine for estimates, not for cryptographic byte accounting.

Does this include petabytes (PB)?

Yes. The grid lists B through PB so you can sanity-check backups, clusters, or marketing sheet figures.

Why might my total differ from a cloud invoice?

Providers may bill on binary vs decimal units, compress objects, round differently, or exclude metadata. Treat this tool as a quick converter, not as your vendor’s pricing engine.

Can I use this for Android APK size budgets?

Yes — convert MB to bytes for thresholds, or compare with the Android File Size Converter. Both stay local in the browser.

What does precision control?

It sets decimal places on converted numbers; trailing zeros are trimmed for readability.

Is there a difference from the Android File Size Converter?

This page adds PB, richer explanatory copy, and TSV export aimed at general storage — the Android tool focuses on B–TB for typical app and asset planning.