Skip to content
R

Rewrite

Automated mass refactoring of source code

by openrewriteFree

#1024in Developer Tools
0In stores

Description

OpenRewrite is an open-source automated refactoring ecosystem for source code. It runs prepackaged recipes for common framework migrations,…

Highlights

  • Prebuilt recipes for framework migrations and security fixes
  • Keeps original formatting in every change
  • Gradle and Maven plugins for running recipes
  • Write your own recipes with the recipe development environment

Ratings & Reviews

No ratings yet

Be the first to rate Rewrite.

People also visit

R

refactor-plan

Detailed multi-file refactor planning with safety checks and rollback guidance

AI Skills
Get
O

orch-refine-code

Orchestrate a behavior-preserving refactor

AI Skills
Get
G

gitnexus-refactoring

Rename, extract, split, move, or restructure code safely

AI Skills
Get
R

request-refactor-plan

Create a detailed refactor plan with tiny commits

AI Skills
Get
M

Moderne

Transform codebases swiftly with AI-driven refactoring and security

AI
Launch
S

safe-refactor

Restructure code while preserving behavior

AI Skills
Get

Rewrite FAQ

What is OpenRewrite?

An open-source ecosystem for automated, large-scale refactoring of source code. It runs recipes that migrate frameworks, fix security issues and keep style consistent.

Is OpenRewrite free?

Yes. The ecosystem is open source, and the documentation offers a free, self-paced Intro to OpenRewrite course.

Which languages does it support?

It started with Java, and the community is expanding its coverage of languages and frameworks.

How do I run a recipe?

Use the OpenRewrite Gradle or Maven plugin on one repository, or use the CLI. The quickstart guide runs recipes on sample code.

Can I write my own recipe?

Yes. The docs include a recipe development environment and a guide to authoring recipes.

What is Moderne?

Moderne maintains the OpenRewrite docs and offers refactoring at scale across many repositories.

What are the best Rewrite alternatives?

Popular alternatives to Rewrite include Eureka and Diffblue. See all Rewrite alternatives

Developer Stuff

Badges