Categories

PNG to Icons

Generate icon packs (PNG sizes + favicon ICO) from a PNG source

Resizes a source PNG into multiple icon sizes (web/Android/iOS) and bundles them with a favicon.ico into a ZIP.

Click to upload file or drag and drop file here

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

Key Facts

Category
Media
Input Types
file, select, checkbox, text
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The PNG to Icons tool converts a single PNG image into a complete icon pack for web, Android, and iOS. It resizes the source into multiple standard sizes and bundles them with a favicon.ico into a downloadable ZIP file.

When to Use

  • When you need to create favicons and touch icons for a website from a single source image.
  • When preparing app icons for both Android and iOS platforms without manual resizing.
  • When generating a standardized icon set with customizable sizes and background options.

How It Works

  • Upload a square PNG image as the source file.
  • Select desired icon sizes from the list, such as 16x16, 32x32, up to 512x512.
  • Optionally enable favicon.ico generation and set a background color in hex or rgba format.
  • Download the generated ZIP file containing all resized icons and the favicon.

Use Cases

Web developers generating favicons and apple-touch-icons for responsive websites.
Mobile app designers creating consistent icon sets for cross-platform applications.
Quickly producing icons for progressive web apps (PWAs) with various device requirements.

Examples

1. Website Favicon and Icon Generation

Front-end Developer
Background
A developer is launching a new website and needs icons for browser tabs and mobile home screens.
Problem
Manually resizing a logo PNG into multiple icon sizes is time-consuming and prone to errors.
How to Use
Upload the site logo as a PNG, select sizes like 16, 32, 48, 64, 128, and 256, and enable favicon.ico generation.
Outcome
A ZIP file with all icons and a favicon.ico, ready for deployment to the web server.

2. Cross-Platform App Icon Preparation

Mobile App Designer
Background
A designer is finalizing assets for an app to be released on both Google Play and the Apple App Store.
Problem
Android and iOS require different icon sizes, and ensuring quality across all is challenging.
How to Use
Upload the app icon PNG, choose sizes like 48, 72, 96, 192, and 512 for Android, and include 57, 60, 72, 76, 120, 152, 180 for iOS, with a white background.
Outcome
A comprehensive icon pack with all required sizes for both platforms, bundled in a ZIP for app store submission.

Try with Samples

image, png, video

Related Hubs

FAQ

What image format is supported for the source file?

Only PNG files are accepted.

Can I choose specific icon sizes for different platforms?

Yes, you can select multiple sizes from a predefined list tailored for web, Android, and iOS.

Is there a file size limit for the source PNG?

The source PNG must be under 50MB.

How is the background color handled in the icons?

You can specify a background color using hex or rgba values; the default is transparent.

What does the output include?

The output is a ZIP file containing all selected PNG icons and, if enabled, a favicon.ico file.

API Documentation

Request Endpoint

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

Request Parameters

Parameter Name Type Required Description
imageFile file (Upload required) Yes -
sizes select No -
includeFavicon checkbox No -
background text No -

File type parameters need to be uploaded first via POST /upload/png-to-icons 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-icons": {
      "name": "png-to-icons",
      "description": "Generate icon packs (PNG sizes + favicon ICO) from a PNG source",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=png-to-icons",
      "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]