Understand Base64 images in HTML illustration

Understand Base64 images in HTML

Learn when embedding an image is useful.

Base64 represents binary bytes as text, typically adding about one third to the original size.

Encode a small icon and use its data URL where the application accepts one.

Large photos usually work better as separate cacheable files.

Open related tool