Skip to content

Get fast, repeatable source code refactoring

OpenRewrite (founded and managed by Moderne) is a community-driven open source project that enables developers to effectively eliminate technical debt within their repositories. It consists of an auto-refactoring engine that runs prepackaged, open source refactoring recipes for common framework migrations, security fixes, and stylistic consistency tasks.

OpenRewrite is Apache2 licensed and maintained by Moderne, the company that scales the use of OpenRewrite recipes across large codebases and multiple repositories.

Start with the quickstart guide and let OpenRewrite handle the boring parts of software development for you. We also welcome you to join our community Slack.

Pinned Loading

  1. rewrite Public

    Automated mass refactoring of source code.

    Java 2.6k 401

  2. rewrite-spring Public

    OpenRewrite recipes for Spring projects.

    Java 295 91

  3. rewrite-testing-frameworks Public

    OpenRewrite recipes that perform common Java testing migration tasks.

    Java 83 83

  4. rewrite-maven-plugin Public

    OpenRewrite's Maven plugin.

    Java 155 81

  5. rewrite-gradle-plugin Public

    OpenRewrite's Gradle plugin.

    Java 69 42

  6. rewrite-docs Public

    Stores the markdown documents used to generate docs.openrewrite.org

    TypeScript 43 68

Repositories

Showing 10 of 67 repositories
  • rewrite-static-analysis Public

    OpenRewrite recipes for identifying and fixing static analysis issues.

    Java 37 64 149 (9 issues need help) 9 Updated Apr 17, 2025
  • rewrite-build-gradle-plugin Public

    Common build logic for building OpenRewrite and recipe jars.

    Java 4 Apache-2.0 5 1 0 Updated Apr 17, 2025
  • rewrite Public

    Automated mass refactoring of source code.

    Java 2,648 Apache-2.0 401 372 (7 issues need help) 58 Updated Apr 17, 2025
  • gh-automation Public

    Shared GitHub Actions workflows which are used by multiple repositories under the OpenRewrite GitHub organization.

    1 Apache-2.0 3 1 2 Updated Apr 17, 2025
  • rewrite-logging-frameworks Public

    OpenRewrite recipes for assisting with Java logging migration tasks.

    Java 29 23 17 (2 issues need help) 2 Updated Apr 16, 2025
  • rewrite-rewrite Public

    OpenRewrite recipes for OpenRewrite Recipes.

    Java 0 0 0 0 Updated Apr 16, 2025
  • rewrite-spring Public

    OpenRewrite recipes for Spring projects.

    Java 295 91 82 (3 issues need help) 1 Updated Apr 16, 2025
  • rewrite-testing-frameworks Public

    OpenRewrite recipes that perform common Java testing migration tasks.

    Java 83 83 52 (6 issues need help) 3 Updated Apr 16, 2025
  • rewrite-python Public

    OpenRewrite recipes for Python.

    Python 27 6 5 2 Updated Apr 16, 2025
  • rewrite-quarkus Public

    OpenRewrite recipes for Quarkus.

    Java 10 Apache-2.0 8 5 0 Updated Apr 16, 2025