工具 指南
Image 免费 无需注册

SVG to PNG Converter

Convert SVG code or files to PNG images with custom size and background.

正在加载工具…

关于此工具

The SVG to PNG Converter lets you turn any SVG graphic into a raster PNG image entirely in your browser. Paste SVG markup directly into the editor or upload a .svg file from your computer. A live preview renders the SVG so you can verify it looks correct before exporting. Set a custom output width and height, or lock the aspect ratio so proportions are preserved when you change one dimension. Choose a transparent background for icons and logos, or pick a custom fill colour for banners and social images. When ready, click Download PNG — the conversion uses an HTML5 canvas so nothing is sent to a server and your artwork stays private.

使用方法

  1. 1 Paste SVG code into the editor or click Upload SVG to load a file.
  2. 2 Check the live preview to confirm the graphic looks correct.
  3. 3 Set the output width in pixels; toggle Maintain Aspect Ratio to auto-fill the height.
  4. 4 Choose a background colour or select Transparent.
  5. 5 Click Download PNG to save the converted image to your device.

常见问题

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}