Export a square vector at a larger raster size
Example input
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="red"/></svg>
width: 1200 pxExpected result
1200 × 1200 px PNGPaste the SVG and choose a width of 1200 pixels. Its square viewBox determines the matching height. The PNG is a fixed pixel image and no longer retains editable vector shapes. Inspect text, transparency and fine lines at the chosen output resolution.