Repolode

2 alternatives

2 best open-source alternatives to Semgrep (2026)

Looking for a free, open-source alternative to Semgrep? These 2 projects can replace it. Each one passed our quality screening and is explained in plain words, so you can compare stars, license and maintenance at a glance.

Quick comparison

ProjectStarsLicenseLast commit
ast-grep/ast-grep★ 16.5KMIT13 hours ago
opengrep/opengrep★ 3.3KLGPL-2.112 hours ago

FAQ

Is there a free, open-source alternative to Semgrep?
Yes. The most popular open-source alternatives to Semgrep on Repolode are ast-grep, opengrep.
Which Semgrep alternative should I choose?
ast-grep has the most GitHub stars and is released under MIT. Compare the license and last commit of each option in the table above before choosing.

How this list is made: AI reads each project's documentation to match it with products it can replace, every project passes our quality screening, and the list is ranked by GitHub stars. Stars updated Nov 6, 2026. How Repolode works

← Open-source alternatives to popular software