:file_folder: Generate pixel-perfect macOS folder icons in the native style. (Now with support for macOS 26 Tahoe!)
:file_folder: Generate pixel-perfect macOS folder icons in the native style. (Now with support for macOS 26 Tahoe!)
Generate pixel-perfect macOS folder icons in the native style (including for macOS 26 Tahoe).
16x16 through 512x512@2x.Using folderify? Let me know or let me know and I'd love to feature some real-world uses!
Install folderify using Homebrew:
brew install folderify
Homebrew install is recommended, and automatically installs folderify argument completions for your shell.
See below for other installation options.
Use a mask to assign an icon to a folder:
folderify mask.png /path/to/folder
Generate mask.icns and mask.iconset files:
folderify mask.png
By default, folderify uses your system's current light/dark mode. Use --color-scheme to override this:
folderify --color-scheme dark mask.png
Note:
For best results:
.png mask.--no-trim flag and use a mask:Folder styles from OS X / macOS 10 are no longer supported by folderify as of v3:
To generate these, please use folderify v2. For example:
# Using `uvx`: https://docs.astral.sh/uv/guides/tools/
uvx --from folderify folderify-v2 --macOS 10.5 path/to/icon.png
# Using `pip`
pip3 install folderify
python3 -m folderify --macOS 10.5 path/to/icon.png
If you don't have Homebrew but you already have ImageMagick (the magick
binary) on your system, you can use the following:
cargo install folderify
Or download the code directly:
git clone https://github.com/lgarron/folderify && cd folderify
# Run directly
cargo run -- --reveal examples/src/folder_outline.png .
# Install (assuming the `cargo` bin is in your path)
cargo install --path .
folderify --reveal examples/src/folder_outline.png .
The repository folder should now have a custom icon.
# bash
for file in examples/src/*.png; do cargo run -- $file; done
open examples/src/
You should see a bunch of new .iconset folders and .icns files that were automatically generated from the .png masks.
magick and identify on the commandline).iconutilfileiconsips, DeRez, Rez, SetFile (You need Xcode command line tools for some of these.)…
`
Example generated from the Apple logo:
No open issues yet, or sync has not completed.