Image to Base64

Convert images to base64 data URLs with optional compression to drastically reduce CSS/HTML bundle sizes

Compression Settings

Large base64 strings bloat CSS and HTML payloads. Compressing and resizing before encoding fixes this.

Upload an image to see preview & code

View all