Categories

Convert PNG to ICO

Convert PNG images to ICO format for Windows icons and favicons

Click to upload file or drag and drop file here

Maximum file size: 10MB Supported formats: image/png

Key Facts

Category
Media
Input Types
file, number
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Easily convert your PNG images into ICO format with this efficient utility, perfect for creating custom Windows application icons and website favicons.

When to Use

  • When you need to create a favicon for your website to display in browser tabs.
  • When you want to customize the desktop icon for a Windows application or shortcut.
  • When you need to convert high-quality PNG graphics into a multi-resolution icon format.

How It Works

  • Upload your source PNG image file using the file selector.
  • Specify your desired icon size in pixels, ranging from 16 to 1024.
  • Click the convert button to process the image and download your new ICO file.

Use Cases

Generating professional favicons for web development projects.
Creating custom desktop icons for personal software shortcuts.
Preparing image assets for Windows software distribution.

Examples

1. Creating a Website Favicon

Web Developer
Background
A developer needs to add a branded favicon to a new website to improve user recognition in browser tabs.
Problem
The logo is currently a high-resolution PNG, but browsers require an ICO format for the favicon.
How to Use
Upload the logo PNG and set the size to 32 pixels for a standard favicon.
Example Config
size: 32
Outcome
A perfectly sized 32x32 ICO file ready to be implemented as a website favicon.

2. Customizing Desktop Application Icons

Software Enthusiast
Background
A user wants to replace the default icon of a desktop shortcut with a custom graphic.
Problem
Windows shortcuts require the ICO format, but the custom graphic is saved as a PNG.
How to Use
Upload the custom graphic and use the default 256-pixel setting to ensure high quality.
Example Config
size: 256
Outcome
A high-resolution ICO file that can be applied to the Windows shortcut properties.

Try with Samples

image, png, video

Related Hubs

FAQ

What is an ICO file?

An ICO file is an image format used for icons in Microsoft Windows and as favicons for websites.

Can I convert multiple images at once?

This tool currently supports processing one PNG file at a time.

Is there a limit to the file size?

Yes, the maximum file size for the uploaded PNG is 10 MB.

What is the default icon size?

The tool defaults to 256 pixels if no specific size is provided.

Does the tool support transparency?

Yes, the conversion process preserves the transparency of your original PNG file.

API Documentation

Request Endpoint

POST /en/api/tools/png-to-ico

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
size number No -

File type parameters need to be uploaded first via POST /upload/png-to-ico to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-png-to-ico": {
      "name": "png-to-ico",
      "description": "Convert PNG images to ICO format for Windows icons and favicons",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=png-to-ico",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]