
Native macOS code editor in Swift — lightweight, open-source, and free forever.
CodeEdit is a native macOS code editor with 22k+ GitHub stars — a free, open-source alternative to VS Code built entirely in Swift. Community-driven and free forever, it targets Mac developers who want a lightweight, Apple-native experience without Electron.
Compare CodeEdit with Sublime Text and Nova before you choose your stack.
| CodeEdit | VS Code | |
|---|---|---|
| License | MIT (open source) | Proprietary |
| Models | Bring your own keys / local models | Vendor-locked models |
| Deployment | Self-hosted or cloud | SaaS only |
| Privacy | Data stays on your infrastructure | Processed by vendor |
| Cost | Free software + API usage | Subscription pricing |
Choose CodeEdit if you want open-source code, self-hosting options, and full control over your data and deployment.
Choose VS Code if you prefer a managed proprietary product with vendor support and minimal setup.
Browse more open-source alternatives to VS Code, or explore other tools in Developer Tools.
| License | MIT |
| Platform | macOS only |
| Stack | Swift, SwiftUI, Tree-sitter |
| Latest | v0.3.6 (pre-release) |
| Self-hosted | Desktop app |
| Alternative to | VS Code, Sublime Text |
CodeEdit is not meant to replace Xcode for Apple platform development — it complements it for web, backend, and cross-platform work with a native Mac feel.
Yes. CodeEdit is open source under MIT. You can self-host it at no software cost — you only pay for infrastructure or optional managed services.
CodeEdit gives you source code access, self-hosting, and data ownership. VS Code is a proprietary product focused on managed convenience. See the comparison table above for a side-by-side breakdown.
Yes. CodeEdit supports self-hosted deployment, which is a core reason teams choose it over VS Code. Check the Getting started or Self-hosting section for install commands.
CodeEdit is actively maintained with a strong open-source community. Many teams run it in production as a Developer Tools alternative to VS Code. Review the At a glance table for license and stack details.
Browse alternatives to VS Code for more open-source options, including tools compared to Sublime Text. Explore the full Developer Tools category for related projects.