jarvisbox

SVG 转 PNG

将 SVG 矢量图栅格化为任意宽度的 PNG,背景透明。

Pick one or more SVG files to begin.

How to convert SVG to PNG

  1. Pick one or more .svg files.
  2. Choose the output width (e.g. 512 for app icons, 2048 for retina exports).
  3. Optionally pick a background colour if you do not want transparency.
  4. Press Convert to PNG and download each result.

Common use cases

Related: WebP to PNG · BMP to PNG · PNG to ICO · All image converters

常见问题

Can I choose the output size?
Yes — type a width in pixels. The height is calculated automatically to preserve the SVG aspect ratio.
Is the background transparent?
Yes by default. You can also choose a flat background colour for the PNG.
Are my files uploaded?
No. The SVG is rasterised entirely in your browser via the canvas API.
My SVG uses external fonts. Will they render?
Only fonts already installed in your browser will render. For maximum portability, outline (convert to paths) any text in the SVG before exporting.
Does it follow embedded image URLs?
SVGs that reference external <image href="..."> URLs may not render those externally hosted images, due to canvas cross-origin restrictions.
Is the conversion vector-perfect?
PNG is raster — the SVG is rendered to pixels at the chosen width. Pick a generous size for high-DPI output.

Last updated:

反馈这个工具的问题