Sorbet
A static type checker designed for Ruby.
At a glance
- Editor scoreNot yet scored
- PricingFree plan
- Best forRuby teams adopting gradual static typing
- Free planYes
- Paid fromNone
- Security analysisNo
- Facts checked26 Sep 2026
Where it wins
- Enable stricter type checks gradually, file by file.
- Add method signatures and runtime checks through Sorbet Runtime.
- Use LSP editor features including autocomplete and go-to-definition.
Where it doesn't
- Focused on type checking rather than broader static analysis.
- No hosted analysis option; it runs locally or in CI.
- No autofix or custom-rule support.
Our verdict on Sorbet
Sorbet is an open-source static type checker for Ruby, aimed at teams that want to catch potential mistakes before code runs. Developers add method signatures and type annotations, then raise strictness file by file, which supports adoption in an existing codebase rather than requiring an all-at-once migration. It can fit small, mid-market, and enterprise teams, but its focus is specifically type checking, not a broad suite of static analysis checks.
Its main strength is the combination of gradual typing and editor support. Flow-sensitive typing helps analyze code paths, while the Sorbet Runtime gem can add runtime checks for annotations. RBI interfaces provide a way to describe libraries and dynamic code. Through Language Server Protocol support, compatible Ruby editors and text editors can offer autocomplete, documentation, and go-to-definition. Teams can also run Sorbet from the command line and include checks in CI, keeping analysis within existing development workflows.
Sorbet is free and open source, with local use rather than a hosted analysis service; deployment is self-hosted. That makes it a fit for teams prepared to manage their own Ruby tooling and build type coverage incrementally. Community support and documentation are the listed support channels. The trade-off is scope: Sorbet does not provide security analysis, autofix, or custom rules. Choose it when gradual Ruby typing and related editor features are the priority; consider a broader static-analysis tool if you need security checks or automated fixes alongside typing.
Sorbet pricing
Sorbet fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Security analysis | No |
| Type checking | Yes |
| Automated fixes | No |
| Custom rules | No |
| Hosted option | No |
| Self-hosted option | Yes |
| Deployment | Self-hosted |
| Platforms | macOS, Linux |
| Support | Community, Docs |
| Built for | Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 2 integrations: Ruby editors and text editors via Language Server Protocol, CI systems |
| Pricing | Free plan |
| Website | sorbet.org |
| Facts checked | 26 Sep 2026 |
Sorbet integrations
Sorbet lists 2 integrations on its own site.
- Ruby editors and text editors via Language Server Protocol
- CI systems
Alternatives to Sorbet
- OpenText Fortify SASTBroad code analysis and workflow integrations for teams with enterprise SAST needs.—
- Snyk CodeSecurity-focused code scanning with IDE, pull-request, and CI/CD workflows.6.3
- GitHub CodeQLSemantic queries and pull-request alerts for teams working in GitHub-centered workflows.6.3
Used Sorbet? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Sorbet for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Sorbet is listed in our Ruby Static Analysis Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/sorbet/"><img src="https://www.itechguides.com/best/badge/sorbet.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. It never changes a score or a verdict. How we rank.

