当您需要一种在任何地方都能使用的格式时 — 电子邮件、文档和照片编辑器 — 可将 SVG 矢量图形转换为 PNG 位图。
转换在您的浏览器中本地运行;不会上传任何内容。
如何使用此工具
添加 SVG
将 SVG 文件拖放到工具上,或选择其中一个。
PNG 已默认选中
输出已设置为高质量的无损 PNG。
下载
下载您的 PNG,即可在任何地方使用。
本节目前仅提供英文版本。
Why rasterise an SVG, and what "rasterise" means
SVG stores shapes as maths: a circle is a centre, a radius and a stroke. PNG stores a grid of pixels. Converting between them is not a format swap like WebP to PNG — it is a rendering step, and it has to make decisions that SVG never had to make.
The main decision is size. An SVG has no intrinsic resolution; it is sharp at any scale. A PNG does not, so you must choose the pixel dimensions and the rendering resolution at export time. Export too small and it will look soft when displayed larger; export too large and the file is needlessly heavy.
Choosing the export size
Work backwards from how the image will be displayed. If it will sit in a 400-pixel-wide slot on a high-DPI screen, export at 800 pixels. If it is destined for print, aim for 300 DPI at the final printed size — a 2-inch logo needs about 600 pixels.
Things that commonly go wrong
- Text renders with a substitute font when the SVG references a font the renderer does not have — convert text to outlines in the source file if the exact typeface matters.
- Filters, blend modes and masks are the SVG features most likely to render differently or not at all.
- Transparency is preserved by PNG; if you need a solid background you must add it explicitly, or the image will have transparent areas.
- Keep the SVG. The PNG is a frozen, single-resolution copy and cannot be scaled back up cleanly.
常见问题
为什么将 SVG 栅格化为 PNG?
PNG 可以在 SVG 无法使用的地方使用 — 电子邮件客户端、聊天应用和大多数图片编辑器。
PNG 会很大吗?
SVG 通常很小,因为它是矢量格式。PNG 版本取决于图片尺寸,但会保持全部质量。
这是免费的吗?
是的 — 免费、无限制,且无需账号。