Why export HTML as WebP
WebP is typically smaller than PNG or JPEG at similar visual quality, and it supports transparency. That helps page speed when you publish graphics you built in HTML and CSS.
Export HTML and CSS as WebP for smaller files than PNG, with transparency kept.
Checkerboard areas are transparent and stay transparent in the exported file.
What you get
Export PNG for sharp edges and transparency, JPEG for small files, or WebP for the best size to quality ratio. Scale up to 3x for retina screens and print.
Rendering happens on your device. Your code and files are never uploaded.
Step by step
WebP is typically smaller than PNG or JPEG at similar visual quality, and it supports transparency. That helps page speed when you publish graphics you built in HTML and CSS.
Chrome and Edge can encode WebP. Some browsers, such as Safari, cannot, and in that case the tool tells you instead of saving the wrong format. Use PNG or JPEG there.
Keep exploring
Learn more
Answers
Yes. Areas without a background color stay transparent in the exported WebP file.
Your browser may not be able to encode WebP. Switch to Chrome or Edge, or export PNG or JPEG instead.
No. The conversion runs entirely in your browser using the Canvas, Web Animations and MediaRecorder APIs. Your HTML, CSS and images never leave your device.
Browsers block canvas export when an image comes from another website that does not allow cross-origin access (a tainted canvas). Embed the image as a Base64 data URL, or host it on a server that sends CORS headers, and it will render.
Free, private and runs in your browser.