在瀏覽器中將 SVG 向量圖形轉換為任意大小的 PNG 點陣圖片。
如何使用 SVG 轉 PNG
上傳 SVG 檔案或貼上其標記。
設定輸出寬度;高度遵循長寬比。
下載渲染後的 PNG。
An SVG to PNG converter that rasterizes vector graphics at any resolution you choose, in your browser. Give it an SVG file or paste the raw markup, set the output size, and download a PNG.
SVG is a vector format made of shapes and paths, so it scales to any size without blurring, which is why icons and logos are stored as SVG. PNG is a raster (pixel) format, which is what many platforms, image fields and tools actually accept.
Conversion happens entirely on your device, so your graphics are never uploaded to a server.
It runs locally with the Canvas API, rendering the SVG and reading back the pixels, so conversion is instant and your graphics stay on your device.
Because the source is vector, you can export at whatever resolution you need without losing sharpness. For crisp results on high-resolution screens, export at 2x or 3x the size the image will be displayed at.
PNG supports transparency, so an SVG with no background converts to a PNG with a transparent background, ready to place over any color, which is ideal for logos and icons.
One caveat: the SVG renders using the fonts your browser has available, and an SVG that references external images or resources may not include them. Self-contained SVGs, with shapes and embedded data, convert most reliably.
常見問題
不會。SVG 使用 Canvas API 完全在瀏覽器中渲染為 PNG,不會傳送任何資料到伺服器。
因為 SVG 是向量格式,您可以以任意大小匯出而不會模糊。以顯示尺寸的 2 倍或 3 倍匯出,可在高解析度螢幕上獲得清晰效果。
字型使用瀏覽器可用的字型渲染,引用外部資源的 SVG 可能不包含這些資源。自包含的 SVG 轉換效果最可靠。
嵌入此工具
將此工具加入你自己的網站。複製下方的程式碼片段,它會自動保持最新。
<iframe src="https://monu.tools/embed/zh-Hant/svg-to-png" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>相關工具