Home › Free tools › Gradle version catalog
Free Android dev tool · libs.versions.toml

Gradle version catalog generator – convert dependencies to libs.versions.toml

Paste the dependencies and plugins block from your build.gradle or build.gradle.kts and get a clean libs.versions.toml plus the new lines for your build file. Handles BOMs, kapt/ksp, test scopes and plugins.

Groovy and Kotlin DSLVersions, libraries, pluginsBOM and test scopes

What is a Gradle version catalog?

A version catalog is a single file, gradle/libs.versions.toml, that lists every library and plugin version in your Android project. Build files then refer to type-safe accessors like libs.androidx.core.ktx instead of repeating strings. New Android Studio projects use it by default, and it makes upgrades and multi-module projects much easier.

How to migrate

  • Paste the plugins and dependencies blocks from your module’s build.gradle or build.gradle.kts.
  • Create gradle/libs.versions.toml in the project root and paste the generated catalog.
  • Replace the old lines in your build file with the generated ones and sync Gradle.
  • In the root build file, declare plugins with alias(libs.plugins.xxx) apply false.

The four sections

SectionWhat goes in it
[versions]Version numbers you can share between libraries, like room = “2.6.1”
[libraries]Each dependency: module and version.ref
[plugins]Gradle plugins: id and version.ref
[bundles]Optional groups of libraries you always add together

Check the generated names and rename any you find unclear – the accessor is the key with dashes turned into dots. Bumping your app version next? Use our Version Bumper.

Frequently asked questions

What is libs.versions.toml?

It is Gradle’s version catalog file. It stores all dependency and plugin versions in one place, and build files use generated accessors like libs.retrofit.

Does it work with Groovy build.gradle files?

Yes. It reads both Groovy (single or double quotes) and Kotlin DSL dependency lines.

How are BOM dependencies handled?

The BOM gets a version, and libraries managed by it are listed without a version.ref – exactly as Gradle expects.

What about versions stored in variables?

Lines like “…:$room_version” are converted without a version so you can add the right version.ref by hand.

Is my build file uploaded?

No. The conversion runs in your browser.

Need a website or app built?

We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.

Techpass Master Technologies · Websites, Android apps and digital marketing

WhatsApp us📞 Call now