sfsym
A command-line tool for exporting Apple SF Symbols as SVG, PDF, or PNG. The vector paths come directly from macOS's symbol renderer, so the output is the same geometry the system draws. No Xcode project, no redraw, and no runtime dependency on SF Symbols.app.
sfsym export heart.fill -f svg -o heart.svg # 569B -> heart.svg
Before you use this Licensing. SF Symbols are Apple property. The SF Symbols License permits their use only in artwork and mockups for apps that run on Apple platforms. sfsym is a tool; the restriction applies to what you ship with the output it produces. Don't embed SF Symbols in an Android app or a generic website.
SF Symbols are Apple property. The SF Symbols License permits their use only in artwork and mockups for apps that run on Apple platforms. is a tool; the restriction applies to what you ship with the output it produces. Don't embed SF Symbols in an Android app or a generic website. Private API. The renderer reads a private ivar on NSSymbolImageRep to reach the underlying CUINamedVectorGlyph object. This has been stable from macOS 13 through macOS 26, but Apple doesn't guarantee it. If a future release changes the layout, sfsym fails fast rather than producing incorrect output.
Install
Homebrew
brew install yapstudios/tap/sfsym
A prebuilt universal binary. No compile step, no Xcode dependency. Runs on macOS 13 (Ventura) or later, on Apple silicon or Intel.
From source
... continue reading