Maven ↔ Gradle Converter

Convert Maven POM XML to Gradle Kotlin DSL and back.

Support
Works Offline
Privacy First
No Login
No API

Maven <dependency> blocks

Gradle dependencies

2 dependencies converted

About the Maven ↔ Gradle Converter

Convert a Maven pom.xml into a Gradle Kotlin DSL build file (dependencies, plugins, repositories, Java/Spring Boot packaging, version catalogs), or scaffold a Gradle build from a dependency list. The parser reads groupId/artifactId/scope and maps scopes (compile, provided, runtime, test) to Gradle configurations.

Examples

POM dependency

<dependency><groupId>junit</groupId><artifactId>junit</artifactId><scope>test</scope></dependency>

Output

testImplementation("junit:junit")

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-25 · Runs entirely in your browser