OSS TanbouSign in with GitHub

A Go web framework that adds routing, middleware, binding, and error handling around net/http

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
32,750
Primary language
Go
License
MIT
Repository last updated
Oct 2, 2026
On this page

Overview

Echo is a framework for building web applications and REST APIs in Go. It interoperates with the standard net/http package while adding a fast router, request binding, middleware, response helpers, and centralized error handling. It fits projects that want to start small and compose cross-cutting behavior at the route or group level.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Compose HTTP behavior with routes, groups, and layered middleware

The radix-tree router groups APIs and lets middleware run globally, for a group, or for one route. Echo also provides JSON, XML, and form binding, HTTP response helpers, centralized error handling, and rendering through a chosen template engine.

Sources: [1]

Add framework facilities while retaining net/http interoperability

echo.WrapHandler and echo.WrapMiddleware incorporate standard handlers and middleware. TLS, HTTP/2, WebSocket support, logging, and official or third-party middleware can be adopted as needed, allowing gradual integration with standard-library code.

Sources: [1]

Best fit

Fits lightweight Go APIs that organize shared concerns as middleware

Echo suits teams separating authentication, recovery, logging, and validation from route handlers while growing REST APIs or microservices with a consistent structure. It can also reduce routing and error-handling boilerplate without discarding existing net/http components.

Sources: [1]

Before adoption

Make v5 migration and proxy trust boundaries explicit

Version 5.4.0 fixes several security issues and changes how trusted peers, X-Forwarded-Proto, X-Real-IP, MethodOverride, JSONP, and static-file paths behave. Deployments behind public-address proxies or load balancers must configure trusted ranges and test middleware order against the real request path. v4 receives security and bug fixes through the end of 2026, but v5 includes public API changes. Echo uses the MIT License.

Sources: [1][2][3]

Official sources

  1. [1]Echo README at v5.4.0(2026-10-04)
  2. [2]Echo v5.4.0 security release(2026-10-04)
  3. [3]Echo MIT license at v5.4.0(2026-10-04)
Supplemental curator note

Echo can grow from a small API into a middleware-heavy service, but forwarded-header and static-file boundaries are security-sensitive configuration. A v5 migration should test scheme and client-IP behavior behind real proxies, not stop at successful compilation.

Try it in 3 steps

  1. 1

    Create a Go module and add Echo v5.4.0

    Pin the version while adding Echo to a minimal project.

    mkdir echo-demo && cd echo-demo go mod init example.com/echo-demo go get github.com/labstack/echo/v5@v5.4.0
  2. 2

    Write a Hello World server

    Define a route and handler with the v5 API shown in the official README.

    printf 'package main\n\nimport (\n "log/slog"\n "net/http"\n "github.com/labstack/echo/v5"\n)\n\nfunc main() {\n e := echo.New()\n e.GET("/", func(c *echo.Context) error {\n return c.String(http.StatusOK, "Hello, World!")\n })\n if err := e.Start(":8080"); err != nil {\n slog.Error("failed to start server", "error", err)\n }\n}\n' > main.go
  3. 3

    Start the local server

    From another terminal, run curl http://localhost:8080/ and confirm the response.

    go run .
Check the official README

Growth

Growth trends · Last 30 days

32,750 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
18
Open PRs
50

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • go
  • echo
  • web
  • middleware
  • microservice
  • websocket
  • ssl
  • letsencrypt
  • micro-framework
  • https
  • http2
  • web-framework
Stars
32,750
Forks
3,979
Watchers
527
Open issues
9
Contributors
299
Owner type
Organization
Primary language
Go
License
MIT
Repository last updated
Oct 2, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?