Spring Boot Starter
Generate a Spring Boot 4 project with Maven or Gradle — Web, JPA, Security, PostgreSQL and more — plus a working REST API, tests, Docker and CI. Free, in your browser.
demo · Spring Boot 4.1.2 · Maven · Java 21 · 5 dependencies · 19 files
About this tool
Create a ready-to-run Spring Boot project in seconds. Choose Maven or Gradle, Java 17, 21 or 25, your group, artifact and package, a database (H2, PostgreSQL or MySQL) and dependencies such as Spring Web, Validation, Spring Data JPA, Flyway, Spring Security, Actuator, OpenAPI with Swagger UI, Lombok, DevTools and Docker Compose. The build files follow the official Spring Initializr, and the project adds what a real starter needs: an example REST API with tests, a security setup that keeps the example and API docs open, tests that run on in-memory H2 even when the app uses PostgreSQL or MySQL, a multi-stage Dockerfile, a GitHub Actions workflow and a README with every command. Preview every file before you download, and share your settings as a link.
How to create a Spring Boot project
Generate and download a Spring Boot starter project in your browser.
- 1
Choose the basics
Pick Maven or Gradle and a Java version, then enter the group, artifact and package name.
- 2
Pick a database and dependencies
Choose H2, PostgreSQL or MySQL and tick dependencies such as Spring Web, Spring Data JPA and Spring Security. Keep the example API, Dockerfile and CI if you want them.
- 3
Preview and download
Check the files on the right, then download the ZIP, unzip it and run ./mvnw spring-boot:run or ./gradlew bootRun.