Convert HTML to a PNG image
Paste an HTML snippet or open a local HTML file. Set the width and height in pixels, then choose Convert to PNG. The preview shows the exact image you can save with Download PNG. Conversion takes place in your browser.
Prepare the markup for capture
Include CSS in a <style> element or a style attribute. Use inline SVG or a data: URL for images and fonts that need to appear in the PNG. For an image that depends on JavaScript, open the page in your browser and capture it with the browser’s screenshot feature.
Set the image size
Try Use sample to see how a layout fits the canvas. The width affects responsive CSS and line wrapping, and the height determines how much content appears in the image. Increase the height if the bottom is cropped. Add a background color in your CSS when the image needs a solid background.