Echo
Build fast Go APIs.
Without the bloat.
A high-performance, minimalist Go web framework — a zero-allocation router, batteries-included middleware, and an expressive API. Ship production services in minutes.
Everything you need. Nothing you don’t.
Optimized Router
Radix-tree routing with zero dynamic allocation and smart route prioritization.
Batteries-included Middleware
CORS, JWT, rate-limit, gzip, recover, request logging — 25+ built in.
Data Binding
Bind JSON, XML, form, query & path params into typed structs, with validation.
Automatic TLS
HTTPS out of the box via Let’s Encrypt, plus HTTP/2 support.
Extensible
Composable middleware and a clean, minimal interface for total control.
Templates
Plug in any Go template engine for fast, flexible HTML rendering.
A running server in three steps.
Install
Add Echo to your module.
go get github.com/labstack/echo/v5
Write
Register a route.
e := echo.New()
e.GET(”/”, hello)
e.Start(":1323")Run
Start serving.
go run main.go ⇨ :1323
Official packages, ready to plug in.
echo-jwt
JWT authentication middleware backed by golang-jwt.
echo-contrib
Prometheus, Casbin, Jaeger, pprof, Zipkin & session helpers.
echo-swagger
Generate and serve interactive Swagger / OpenAPI docs.
API Reference
Full package documentation on pkg.go.dev.
Backed by teams who build on Echo.
EncoreThe platform for building Go-based cloud backends.
High performance, extensible, minimalist Go web framework.



