---
title: "Creating a macOS iconset (.icns) file"
date: 2024-11-26
author: "Rich Brown"
pubDate: "Tue, 26 Nov 2024 13:19:07 GMT"
link: "https://randomneuronsfiring.com/creating-a-macos-iconset-icns-file/"
urlPrev: "https://randomneuronsfiring.com/qstudio-prql-a-pretty-good-match.md"
urlNext: "https://randomneuronsfiring.com/creating-a-macos-application-bundle.md"
---

# Creating a macOS iconset (.icns) file

I wanted to [create a macOS bundle](https://github.com/richb-hanover/create-crusader-macos-app) for an application that I use frequently, and wanted it to have an attractive icon. I had a good PNG image, and knew that there must be a way to convert it to the multiple sizes required by modern macOS.

I found Ben Souchet’s [png-to-icns](https://github.com/BenSouchet/png-to-icns) repo that does exactly what I want. It takes a 1024×1024 PNG image, and outputs the desired `.icns` file.