SVG to PNG Converter
v1.0SVG to PNG Converter turns an SVG into a PNG at the size you choose, in your browser. Paste the markup, drop an .svg file or load one of four samples.
The size starts from the SVG's own width and height, or the shape of its viewBox when it has no size. Width and height stay locked to that shape until you unlock them. A 1x, 2x or 4x scale multiplies the result for high-density screens, up to 8192 pixels on the longest side, and the line under the preview always shows the exact size you'll get. The background stays transparent, or you can fill it with a color.
The preview and the export are both sanitized first. A script, an event handler or a <foreignObject> never runs or renders, and a note says when something was left out. Markup that isn't SVG is reported once you stop typing, and the last good drawing stays in the preview until then. If the browser can't draw the PNG, the page says so and suggests a smaller size.
Download the PNG, named after the file you dropped, or copy it to the clipboard where your browser allows it. A share link carries a small SVG and all its settings. Your SVG and settings are remembered on this device.