Converts file sizes between bytes, KB, MB, GB, and TB using both decimal (SI: 1 KB = 1000 bytes) and binary (IEC: 1 KiB = 1024 bytes) prefixes. Also calculates the byte size of any text string in UTF-8, UTF-16, or ASCII encoding. Useful for storage planning, API payload sizing, and bandwidth calculations.
Enter a size in any unit or paste text to see its byte count — in both decimal and binary prefixes. For encoding text as Base64 (which increases size by ~33%), use the Text to Base64 encoder.
Size conversion
Input
1 GB
Output
1,000 MB | 1,024 MiB | 1,073,741,824 bytes
Encode text as a Base64 string.
Convert numbers between binary, octal, decimal, and hexadecimal.
Format numbers with locale-specific separators, currency, and scientific notation.
Convert between length, weight, temperature, volume, area, and more.
Convert Markdown to HTML instantly.
Convert HTML markup to clean Markdown syntax.