Sfsym – a command-line tool to export Apple SF Symbols as vector SVG/PDF/PNG.
Raw Developer Origin & Technical Request
Hacker News
Apr 18, 2026
I found myself reaching for SF Symbols' 'Copy Image As…' quite often during agentic design sessions, so I made a command-line tool that the agent can use by itself. It exports Apple SF Symbols as SVG, PDF, or PNG.The vector paths come directly from macOS's symbol renderer. Internally it reaches a private ivar on NSSymbolImageRep to get the CUINamedVectorGlyph, draws into a CGPDFContext, then walks the PDF content stream back out as SVG `d` commands. The output matches what the system draws, rather than an approximation traced from rasters.A few things about it:- Every subcommand accepts `--json`, and `sfsym schema` returns a machine-readable description of the whole CLI.
- Symbol enumeration reads the OS's Assets.car BOM tree, so the list of 8,300+ names stays current with macOS updates without a version table in the binary.
- Each SVG `` carries a `data-layer` attribute, so you can retheme in CSS without touching geometry.It's been saving me a bunch of clicking. Please let me know if you have any other ideas for it.
Developer Debate & Comments
Frequently Asked Questions
Market intelligence mapped to Sfsym – a command-line tool to export Apple SF Symbols as vector SVG/PDF/PNG..
What is the technical positioning of Sfsym – a command-line tool to export Apple SF Symbols as vector SVG/PDF/PNG.?
What is the general sentiment around Sfsym – a command-line tool to export Apple SF Symbols as vector SVG/PDF/PNG.?
What architecture is tied to Sfsym – a command-line tool to export Apple SF Symbols as vector SVG/PDF/PNG.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like CSS and command-line tool by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics