SVG to SwiftUI Converter
Convert SVG paths to SwiftUI Shape code.
Web Tool
SwiftUI
Open Source
30,000+ users
Launched April 2020
10K+monthly visitors
Overview
SwiftUI gave developers a declarative way to draw shapes, and no way to convert the SVG assets they already had. Translating SVG path commands into SwiftUI code by hand is slow and error-prone.
SVG to SwiftUI Converter does it instantly, in the browser, with zero data leaving your machine.
The Challenge
- Parse the full SVG path specification, including arcs and relative commands
- Generate SwiftUI code clean enough to drop into Xcode without edits
- Run entirely client-side: no servers, no uploads
Technical Stack
- Frontend: Next.js with React
- Parser: Custom SVG path parser
- Code generation: AST-based SwiftUI code generator
Results
Tens of thousands of iOS developers have used the tool. It ranks first for “SVG to SwiftUI” searches and brings steady traffic with zero marketing spend.
Lessons Learned
- Scratch your own itch: we built this because we needed it, and that’s why it works for the people who use it
- SEO is the best marketing for tools: a utility that ranks for the exact problem it solves generates traffic forever
- Client-side processing is a trust signal: developers care where their assets go, and “nothing leaves your browser” answers that up front