- What image formats are supported?
- Any image format whose MIME type is in the data URI or can be inferred from the base64 magic bytes: JPEG, PNG, GIF, WebP, SVG, BMP, ICO. The decoded image is shown in a preview canvas.
- Should I embed images as base64 in CSS?
- Only for very small images (under 5KB). Larger base64 images increase CSS file size, delay render-blocking CSS parse time, and defeat browser caching since the image cannot be cached independently.
- Is there a size limit?
- Most browsers handle data URIs up to ~2MB. Beyond that, some browsers truncate the URI or refuse to render it. For large images, use object URLs or separate HTTP resources instead.