utills.
中文
PNG → ICO converter

PNG to ICO

Convert a PNG to a multi-size ICO in your browser. Your PNG becomes a favicon.ico with 16, 32, and 48 px — plus the rest of a favicon set.

PNG → .icoMulti-size icon100% freeNo sign-up

拖入图片以生成 Favicon

拖放、粘贴或选择文件

PNG · JPG · WebP · SVG — 图标在您的设备上生成

Turn a PNG into a real .ico

The .ico format can hold several sizes in one file, which is exactly what a favicon needs. Drop a PNG here and it is downscaled to 16, 32, and 48 px and packed into a single favicon.ico — the format Windows and older browsers expect.

You also get standalone PNG icons, an apple-touch-icon, Android icons, and a manifest in the same zip, so one PNG gives you everything required to add a favicon to a website. Conversion runs entirely on your device.

How to convert PNG to ICO

  1. Add your PNG — drag & drop, paste, or choose a file (JPG, WebP, and SVG work too).
  2. Set the background — keep transparency or add a solid color if your PNG has fine detail.
  3. Check the previews — confirm the 16 and 32 px versions stay readable.
  4. Download the zip — your favicon.ico is inside, ready to drop at your site root.

Tip: keep PNG transparency

If your PNG has a transparent background, leave it transparent so the icon blends into light and dark browser tabs. Only add a color if thin lines vanish on certain themes.

.ico 容器: sizes and where each is used

.ico 文件是一种图标容器,能在单个文件中容纳多张位图,这正是网站图标所需要的。你的 PNG 会被缩小并打包进一个包含以下尺寸的 favicon.ico:

Size File Where it's used
16 × 16 px inside favicon.ico 标准屏幕密度下的浏览器标签页和地址栏图标。
32 × 32 px inside favicon.ico 高 DPI 显示屏上的标签页和书签图标,以及 Windows 任务栏。
48 × 48 px inside favicon.ico 桌面快捷方式和 Windows 磁贴可从中挑选的更大条目。

Format & container

.ico 内的每个尺寸都以无损的 PNG 编码条目存储,因此容器本身不会造成任何质量损失——只有源素材的细节程度才决定小图标的清晰度。

How it's wired into your page

                <link rel="icon" href="/favicon.ico" sizes="any">
<!-- favicon.ico 也会在你的网站根目录被自动找到 -->
              

Tip

在源文件中保留 PNG 透明度,让图标在浅色和深色浏览器标签页中都能融入;仅当细线在某个主题下消失时,才添加纯色背景。

所有 Favicon 与图标工具

常见问题

Is the .ico a true multi-size icon?

Yes. The favicon.ico contains 16, 32, and 48 px in one file, so the browser can pick the crispest size for each context.

Can I convert JPG or WebP to ICO instead?

Yes — the converter accepts PNG, JPG, WebP, and SVG. For the sharpest small icon, start from the highest-resolution source you have.

Where does the conversion happen?

In your browser, so the .ico is created on your own device. How any data associated with the tool is handled is described in our privacy policy.

Does converting reduce quality?

Icons are tiny, so downscaling a larger PNG actually improves sharpness. The .ico is lossless; the only thing that affects clarity is how detailed your source art is.

更多图片工具

Find your next tool

37 tools

Compress image Shrink file size while keeping quality. Resize image Change width and height to any size. Crop image Trim images to the exact frame you want. Convert image Switch between JPG, PNG, WebP and more. Remove background Erase the background in one click. Image to PDF Combine images into one PDF document. Rotate & Flip Turn, straighten, and mirror photos. Image to text Pull editable text out of any image. HEIC to JPG Open iPhone HEIC photos as JPG. Watermark Stamp text or logos over your images. Collage Arrange multiple photos into a grid. Favicon Generator Build favicons in every required size. Color Picker Grab hex colors and build palettes. Blur & Pixelate Obscure faces, plates, and private bits. Enhance Auto-fix brightness, contrast, and color. Passport Photo Prepare photos for ID and passport applications. Signature Clean up and extract handwritten signatures. Photo Effects Apply filters and vintage looks. Social Image Size covers for common social platforms. Add text to image Caption images and make memes fast. GIF Maker Turn frames or clips into animated GIFs. Border & Frame Add clean borders and photo frames. Mockup Drop screenshots into device frames. SVG Converter Trace raster images into scalable SVG. EXIF Viewer Inspect camera and GPS metadata. Poster & Print Lay out posters and print-ready sheets. Document Scanner Deskew and clean photographed documents. Image to Base64 Encode images into a data-URI string. Placeholder Make dummy placeholder images on demand. Image generator Make gradients, patterns, and avatars. Compare Images See two images side by side with a slider. QR Code Create and download QR codes. Hide Text in Image Embed a secret message inside a picture. Length converter Meters, feet, inches, miles and more. Weight converter Switch between kilograms, pounds and more. Temperature converter Celsius, Fahrenheit, Kelvin and more. Data storage converter Bits, bytes, megabytes and gigabytes.
Tab to move · Enter to open · Esc to close