Fork me on GitHub

A lightweight REST API library

Javalin is a true microframework with only two dependencies: the embedded web-server (Jetty) and a logging facade (SLF4J).

Javalin has plugins for JSON mapping, template rendering, and OpenAPI (Swagger), but they’re optional dependencies that you have to add manually.

You can exclude the Jetty dependency if you want to run Javalin on a different servlet container.

Download Javalin


Not familiar with Maven? Click here for more detailed instructions.

compile 'io.javalin:javalin:3.13.7'

Not familiar with Gradle? Click here for more detailed instructions.

libraryDependencies += "io.javalin" % "javalin" % "3.13.7"
@Grab(group='io.javalin', module='javalin', version='3.13.7') 
[io.javalin/javalin "3.13.7"]
<dependency org="io.javalin" name="javalin" rev="3.13.7" />

Manual downloads

You can get the prebuilt jar from Maven Central.
You can get the source on GitHub, or download it as a zip.

Do you like Javalin?