I’m sure there are countless ways to do this but I found the easiest way for Mac users running homebrew is simply to:
- Install ImageMagick
- Navigate to the PNG file
- Run the convert function
Open a terminal and run:
Once ImageMagick is installed, navigate to your PNG version of the favicon via CLI and run:
If you have multiple PNG’s that are different sizes you can create the ICO from them by running (for example):
I wrote this blog post simply because, aside from online converters, I didn’t see much out there so I thought it best to scribble it down as a note to my future self.