Open-source alternatives to VS Code

2 free, open-source alternatives with 107K total GitHub stars. The best open-source alternative to VS Code is Zed, with 84.1K GitHub stars.

Updated July 2026Stats synced from GitHub

Compare VS Code alternatives

ToolStarsForksLicenseSelf-hosted
Zed84.1K8.8KGPL-3.0No
CodeEdit22.9K1.2KMITNo

Visual Studio Code is Microsoft's free code editor, but it isn't fully open source in the version most people download — the official Microsoft build adds proprietary elements (like its marketplace terms and telemetry) on top of the open-source Code - OSS core, and it's increasingly positioned as the delivery vehicle for Microsoft's paid Copilot features.

If you want a fully open-source editor with no proprietary layer, CodeEdit is a lightweight, native macOS option built in Swift. Zed is the better pick if you want a from-scratch, GPU-accelerated editor built for speed and built-in AI features rather than a VS Code-derived codebase.

FAQ

Is there a free, open-source alternative to VS Code?

Yes. Zed and CodeEdit are both fully open source, without the proprietary layer Microsoft adds on top of VS Code's open-source core.

What's the best open-source alternative to VS Code?

Zed is the better pick if you want maximum performance and built-in AI features in a modern, from-scratch editor. CodeEdit is the closer pick if you want a lightweight, native macOS-only experience.

What are the top open-source alternatives to VS Code?

Browse all open-source alternatives to VS Code above, or explore the full Developer Tools category for more options.

Explore more alternatives