---
title: "PNG转ICO：免费制作网站图标，保护隐私 - WeConvert"
description: "免费在线将PNG转换为ICO，全部在浏览器中完成，文件始终留在你的设备上。一个图标最多包含六种尺寸，最大256 px，保留透明。支持批量转换。"
url: "https://weconvert.app/zh-hans/convert/png-to-ico"
language: "zh-Hans"
---

> Prices, limits and privacy: https://weconvert.app/llms.txt

# PNG转ICO

图标会包含16到256 px之间所有不超过PNG原图的尺寸，并保留透明。

## 关于PNG转ICO的常见问题

### PNG转ICO是怎样处理文件的？

PNG转ICO会用PNG生成Windows图标文件，这也是制作网站图标（favicon）的常用起点。透明会保留，ICO包含从16到256 px的多种尺寸，每种尺寸都以PNG形式存放在文件中。想要最清晰的效果，请使用至少256 px的正方形PNG。

### 这个ICO可以用作网站图标吗？

可以。各个尺寸以PNG图片的形式存放在ICO中，所有浏览器都支持；只要你的PNG至少有32 px，就会包含浏览器标签页用到的16和32 px版本。把它命名为favicon.ico，放到你的网站上即可。

### 为什么我的图标里没有256 px的尺寸？

只有不大于原图的尺寸才会生成，所以不会有任何尺寸被放大而变模糊。一张200 px的PNG会得到16、32、48、64和128 px；使用最长边至少256 px的PNG，就能得到全部六种尺寸。

### 图标会保留PNG的透明背景吗？

会，每种尺寸中的透明区域都保持透明。如果PNG不是正方形，它会居中放在一个透明的正方形上，所以较宽的Logo上下会留出透明空间，而不会被拉伸。

## 相关工具

[全部PNG转换](https://weconvert.app/zh-hans/convert/png)

- [PNG转JPG](https://weconvert.app/zh-hans/convert/png-to-jpg)
- [JPG转ICO](https://weconvert.app/zh-hans/convert/jpg-to-ico)
- [PNG转WebP](https://weconvert.app/zh-hans/convert/png-to-webp)
- [WebP转ICO](https://weconvert.app/zh-hans/convert/webp-to-ico)
- [PNG转GIF](https://weconvert.app/zh-hans/convert/png-to-gif)
- [GIF转ICO](https://weconvert.app/zh-hans/convert/gif-to-ico)
- [PNG转BMP](https://weconvert.app/zh-hans/convert/png-to-bmp)
- [BMP转ICO](https://weconvert.app/zh-hans/convert/bmp-to-ico)
