SVG 转 PNG
UpBox优盒工具箱,免费在线 SVG 转 PNG 工具,粘贴 SVG 代码或上传 .svg 文件即可按 1x / 2x / 3x / 4x 导出 PNG,支持透明、白底与深色底,实时预览。
无需注册 · 数据不上传No sign-up · nothing uploaded
SVG 代码SVG code
原始尺寸—
输出尺寸—
PNG 体积—
PNG 预览PNG preview
粘贴 SVG 后自动渲染
粘贴 SVG 后自动渲染
渲染在本地完成;含外部图片或字体的 SVG 可能显示不完整
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器
工具介绍
把 SVG 代码粘进左侧,右侧会实时渲染出 PNG 预览,按倍率导出后可用于公众号、PPT 或不支持矢量图的场景。 Paste SVG on the left to see a live PNG preview, then export at 2x–4x for channels or documents that cannot use vectors.
透明背景适合做图标与贴图,白底和深色底适合直接放进文档;尺寸与导出体积会一并显示。 A transparent background suits icons and overlays, while white or dark backgrounds fit documents; both output size and file size are shown.
- 代码或文件输入Code or file input
- 1x–4x 倍率1x–4x scale
- 三种背景Three backgrounds
- PNG 体积统计PNG size stats
- 本地渲染Local rendering
使用说明
- 粘贴 SVG 代码或上传 .svg 文件。Paste SVG code or upload an .svg file.
- 选择输出倍率与背景。Choose the scale and background.
- 查看预览与输出尺寸。Check the preview and output size.
- 点击下载 PNG。Download the PNG.
常见问题
为什么导出的 PNG 不够清晰?Why is the PNG not sharp?
矢量转位图需要足够倍率,2x 适合屏幕,3x–4x 适合印刷与高清屏。Rasterizing needs enough scale: 2x for screens, 3x–4x for print and high-DPI.
支持渐变与滤镜吗?Are gradients and filters supported?
常规渐变、透明与路径都支持;部分 SVG 滤镜在不同浏览器下渲染有差异。Normal gradients, transparency and paths work; some SVG filters render differently across browsers.
字体为什么不显示?Why is my font missing?
SVG 引用的系统字体在导出环境不一定存在,建议把文字转成路径。Referenced system fonts may not exist when rendering — convert text to paths first.
图片会上传吗?Are images uploaded?
不会,渲染与导出都在浏览器本地完成。No, rendering and export run locally in the browser.