Base64 encodes 3 bytes of binary data into 4 bytes of ASCII text. This strict mathematical ratio means you always incur a ~33% penalty in payload size when embedding images directly in HTML or JSON.
Base64 Encoding Overhead Penalty
Calculate the exact file size increase when embedding binary assets via Data URIs.
Base64 String Size (KB)
-- KB
Penalty: +33.3%