OpenRewrite
OpenRewrite: A focused open-source toolkit for Java ecosystem migrations and security fixes. Ranked #8 of 22 in Code Refactoring Tools by our editors (7.9/10); pricing: Open source; best for java ecosystem migrations and security fixes.
At a glance
- Editor score7.9 / 10
- PricingOpen source
- Best forJava ecosystem migrations and security fixes
- Paid fromFree
- Refactoring scopeRepository
- Facts checked22 Sep 2026
Where it wins
- Free open-source recipes for migrations, updates, and security fixes
- Maven and Gradle plugins support local execution
- Custom YAML recipes, composition, and multi-cycle execution
Where it doesn't
- Verified language coverage centers on Java, Kotlin, and Groovy
- Primarily operates through local or build-tool workflows
- Cross-repository orchestration belongs to the separate Moderne platform
Our verdict on OpenRewrite
OpenRewrite is an open-source ecosystem for automated source-code refactoring across repositories. It is aimed at development teams working on Java, Kotlin, and Groovy codebases that need framework migrations, dependency updates, security fixes, or stylistic changes. Prepackaged recipes handle common transformations, while custom recipe authoring supports more specialized changes. The engine uses Lossless Semantic Trees and is designed to preserve source formatting during refactoring.
Its strongest fit is the Java build ecosystem. Developers can execute recipes through Maven or Gradle plugins, making the tool suitable for local workflows and repository-level batch refactoring. Declarative YAML recipes lower the barrier to adapting existing transformations, while recipe composition and multi-cycle execution support changes that require several coordinated passes. Teams that want to keep refactoring close to their existing build tools should find this model more relevant than a tool centered on a separate hosted interface.
OpenRewrite also has a clear boundary. Its verified language coverage is limited to Java, Kotlin, and Groovy, so teams working mainly in other programming languages should consider a more broadly focused alternative. OpenRewrite itself is primarily a local and build-tool ecosystem; organizations seeking centralized execution across many repositories would need to evaluate Moderne separately, since it is a distinct commercial platform built on OpenRewrite. Choose OpenRewrite for open-source, code-focused migrations and security remediation within supported ecosystems. Look elsewhere if broad language coverage or a single cross-repository operating layer is the main requirement.
Your product? Our editors can test OpenRewrite in depth and publish a review, labelled as paid · from $149/mo →
OpenRewrite pricing
OpenRewrite fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Supported languages | Java, Kotlin, Groovy |
| Refactoring scope | Repository |
| Batch refactoring | Yes |
| AI assistance | Not verified |
| AST-based analysis | Yes |
| Deployment | Not verified |
| Deployment | Self-hosted |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Open source |
| Website | openrewrite.org |
| Facts checked | 22 Sep 2026 |
Alternatives to OpenRewrite
- ReSharperA deep Visual Studio refactoring suite with broad analysis and AI assistance.9.2
- ast-grepA free, open-source choice for structural searches, codemods, and custom linting.8.7
- CodeRushA broad Visual Studio refactoring toolkit with a free plan and Windows-only coverage.8.5
See all OpenRewrite alternatives →
OpenRewrite vs the competition
- OpenRewrite vs ReSharper
- OpenRewrite vs ast-grep
- OpenRewrite vs CodeRush
- OpenRewrite vs DMS Software Reengineering Toolkit
- OpenRewrite vs jscodeshift
- OpenRewrite vs Spoon
Compare OpenRewrite with any tool side by side →
Used OpenRewrite? 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 OpenRewrite 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
OpenRewrite is listed in our Code Refactoring Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/openrewrite/"><img src="https://www.itechguides.com/best/badge/openrewrite.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update




