The best Hono alternatives in 2026 are Elysia if you run on Bun and want end-to-end types, Fastify 5 for high-throughput Node.js APIs with schema validation, Express 5 for the largest ecosystem, NestJS 12 for large teams that want structure, H3 v2 or itty-router for portable Web Standard handlers, and Encore.ts, tRPC/oRPC or FastAPI when your real need is infrastructure, typed RPC or Python. Which one fits depends on your runtime, how much structure you want, and whether OpenAPI matters.
Hono itself is excellent: version 4.13 runs on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda and Node.js, has zero dependencies, and its hono/tiny preset is under 14 KB minified according to the Hono docs. People look for Hono alternatives for specific reasons: they want a batteries-included framework with dependency injection, a Bun-native speed focus, first-party OpenAPI, a bigger middleware ecosystem, or a non-TypeScript stack. This list covers eleven options with current versions, runtime support checked against official docs and npm, and clear "pick it if" guidance.
Hono alternatives compared
Versions are the latest on npm or PyPI as of November 26, 2026. "Workers" means Cloudflare Workers support.
| Framework | Version | Runtimes | Typing | Validation | OpenAPI | Workers | Maturity |
|---|---|---|---|---|---|---|---|
| Hono (baseline) | 4.13.22 | Workers, Deno, Bun, Node, Lambda, Vercel, Netlify, Fastly | TS, RPC client (hc) |
Validator middleware, Zod and Standard Schema adapters | @hono/zod-openapi, hono-openapi |
Yes | Stable, widely used on the edge |
| Elysia | 1.4.32 | Bun (primary), Node via adapter, Deno, Workers (experimental) | TS, Eden client | TypeBox (t), Standard Schema |
@elysia/openapi |
Experimental | Stable 1.x, Bun-centric |
| Express | 5.3.0 | Node; Bun via compatibility | Types via @types/express |
None built in | Third-party | No | Very mature |
| Fastify | 5.12.8 | Node 20+ | TS with type providers | JSON Schema (Ajv) built in | @fastify/swagger |
No | Very mature |
| NestJS | 12.6.2 | Node 20.19+ or 22.12+ | TS, decorators, DI | Standard Schema pipe, class-validator | @nestjs/swagger |
No | Very mature |
| itty-router | 5.0.24 | Any fetch runtime | TS generics | None built in | No | Yes | Stable, minimal |
| H3 (and Nitro) | 2.0.8 | Node, Deno, Bun, Workers | TS | Utilities, bring your own schema | Via Nitro | Yes | v2 stable; Nitro 3 in RC |
| Deno.serve / Oak | Deno 2.x / Oak 17.2.2 | Deno (Oak also Node, Bun, Workers) | TS native | Bring your own | Third-party | Deno Deploy | Stable |
| Bun.serve routes | Bun 1.4.5 | Bun | TS native | Bring your own | No | No | Stable (routes since Bun 1.2.3) |
| Encore.ts | 1.58.10 | Node with Rust runtime | Types define the API | Derived from TS types | Experimental generator | No | Stable, platform-oriented |
| tRPC / oRPC | 11.31.3 / 1.16.6 | Node, Bun, Deno, Workers via fetch adapters | End-to-end TS | Standard Schema (Zod, Valibot...) | oRPC yes, tRPC no first-party | Yes | tRPC mature, oRPC newer |
| FastAPI | 0.165.0 | Python (ASGI) | Python type hints | Pydantic | Built in | No | Very mature |
1. Elysia: the closest Hono alternative on Bun
Elysia is the most direct Hono competitor: Web Standard Request/Response, chained route definitions, strong type inference, and an end-to-end typed client called Eden. It validates with its TypeBox-based t builder and, per its validation docs, also accepts Standard Schema libraries such as Zod, Valibot and ArkType. OpenAPI generation comes from the @elysia/openapi plugin.
import { Elysia, t } from 'elysia';
new Elysia()
.post('/users', ({ body }) => ({ created: body.email }), {
body: t.Object({ email: t.String({ format: 'email' }) }),
})
.listen(3000);
Runtime support is where it differs from Hono. Bun is the primary target. Node runs through the @elysia/node adapter, Deno through Deno.serve(app.fetch), and the Cloudflare Workers adapter is labelled experimental: you must call .compile(), Elysia.file and the static plugin do not work, and OpenAPI type generation is unavailable because there is no fs. When I tried the Node adapter (Elysia 1.4.32, @elysia/node 1.4.6, Node 24), the process exited right after its listen callback fired; I did not investigate further, but it reinforces that Bun is where Elysia is meant to run.
Pick Elysia if you deploy on Bun and want Hono-like ergonomics with stronger built-in validation and OpenAPI. Our Hono vs Elysia comparison goes deeper on edge trade-offs.
2. Fastify 5: fast, schema-first Node.js
Fastify validates requests and serializes responses from JSON Schema using Ajv, which gives you validation and a speed boost from the same declaration. Type providers let TypeBox or Zod schemas drive TypeScript types, and @fastify/swagger turns the same schemas into OpenAPI. Fastify 5 supports only Node.js 20 and later.
import Fastify from 'fastify';
const app = Fastify();
app.post('/users', {
schema: {
body: {
type: 'object',
required: ['email'],
properties: { email: { type: 'string', format: 'email' } },
},
},
}, async (request) => ({ created: request.body.email }));
await app.listen({ port: 3000 });
Sending {"email":"nope"} to this route returns a 400 with FST_ERR_VALIDATION and the message body/email must match format "email", with no handler code involved.
Pick Fastify if you run long-lived Node.js servers or containers, care about throughput, and want schema-driven validation and docs. Skip it for Workers.
3. Express 5: the ecosystem default
Express 5 (5.3.0) finally shipped the long-awaited cleanups: rejected promises from async handlers are forwarded to error middleware, path matching moved to a newer path-to-regexp, and several deprecated APIs were removed. It has no built-in validation, typing or OpenAPI, but almost every Node.js library, tutorial and middleware assumes Express. Bun runs Express through its Node compatibility layer and publishes an Express guide.
Pick Express if you need a specific Express middleware, you are maintaining an existing Express codebase, or your team is new to Node. For greenfield TypeScript APIs, Fastify or Hono usually give you more for free.
4. NestJS 12: structure for large teams
NestJS is the opposite of Hono's minimalism: modules, controllers, providers, dependency injection and decorators, running on Express by default with Fastify or Node's own node:http as alternatives. NestJS 12, released August 27, 2026, ships ESM packages, a rebuilt CLI with nest upgrade, a new @nestjs/observe SDK, and first-class Standard Schema validation:
@Post()
create(@Body({ schema: createUserSchema }) body: CreateUserDto) {
return this.usersService.create(body);
}
It requires Node.js 20.19+ or 22.12+, and existing CommonJS apps keep working through require(esm). OpenAPI comes from @nestjs/swagger.
Pick NestJS if several teams share one backend and you value consistent architecture over minimal code. We compared the two philosophies in NestJS vs Hono.
5. H3 v2 and Nitro: universal Web Standard servers
H3 is the HTTP layer behind Nitro and Nuxt. Version 2 is a stable rewrite on Web Standards, and the same app runs on Node, Deno, Bun and Cloudflare Workers; its serve() helper uses the runtime-agnostic srvx listener.
import { H3, serve } from 'h3';
const app = new H3()
.get('/', () => ({ hello: 'h3' }))
.get('/users/:id', (event) => ({ id: event.context.params.id }));
serve(app, { port: 3000 });
H3 is a router plus composable utilities (cookies, proxying, SSE, WebSockets); it leaves validation libraries up to you. Nitro adds build presets for many hosting targets, file-based routes, storage and caching. Nitro 2 (nitropack 2.14.0) is the stable line; Nitro 3 (published as nitro) is still a release candidate.
Pick H3 if you like Hono's portability but want the Nitro deployment presets or already work in the Nuxt ecosystem.
6. itty-router: the smallest option for Workers
itty-router is a micro-router built for Cloudflare Workers that runs anywhere fetch handlers run. Its README lists routers from about 450 bytes to about 970 bytes for the batteries-included AutoRouter, which also turns returned objects into JSON responses.
import { AutoRouter } from 'itty-router';
const router = AutoRouter();
router
.get('/users/:id', ({ id }) => ({ id }))
.post('/echo', async (req) => await req.json());
export default router; // Workers; on Node, pass router.fetch to a fetch adapter
There is no validation, OpenAPI or RPC client, by design.
Pick itty-router if bundle size is the constraint, such as many tiny Workers, and your routing needs are simple.
7. Deno.serve and Oak: stay native on Deno
Deno's built-in Deno.serve handles Web Standard requests with no framework at all, and Hono-style handlers port almost line for line. If you want middleware and routing, Oak (17.2.2 on JSR) is the long-standing Deno framework and, per its README, also runs on Node.js, Bun and Cloudflare Workers.
Deno.serve({ port: 3000 }, (req) => {
const url = new URL(req.url);
if (url.pathname === '/health') return Response.json({ ok: true });
return new Response('Not found', { status: 404 });
});
Pick this if you deploy on Deno or Deno Deploy and want the fewest dependencies. For the runtime choice itself, see Deno 2 vs Bun.
8. Bun.serve routes: no framework on Bun
Since Bun 1.2.3, Bun.serve accepts a routes object with static responses, :param segments and per-method handlers. For small services that is enough to drop a framework entirely.
Bun.serve({
port: 3000,
routes: {
'/api/status': new Response('OK'),
'/users/:id': (req) => Response.json({ id: req.params.id }),
'/api/posts': {
GET: () => Response.json([]),
POST: async (req) => Response.json(await req.json(), { status: 201 }),
},
},
});
Pick it if your service has a handful of routes on Bun and you would rather not carry a framework. Add Elysia or Hono when middleware and validation start piling up.
9. Encore.ts: framework plus infrastructure
Encore.ts is a different category. You define endpoints with api() and declare databases, Pub/Sub, cron jobs and secrets as typed objects; Encore provisions them locally with encore run and in your AWS or GCP account through Encore Cloud, or you self-host with encore build docker. Request schemas are derived from TypeScript types and validated before your handler runs. Under the hood a Rust runtime loaded via napi-rs handles HTTP and other I/O while Node.js runs your handlers. OpenAPI export exists but is marked experimental (encore gen client --lang=openapi). The project is MPL-2.0 licensed.
import { api } from 'encore.dev/api';
interface Params { name: string }
interface Response { message: string }
export const hello = api(
{ expose: true, method: 'GET', path: '/hello/:name' },
async ({ name }: Params): Promise<Response> => ({ message: `Hello ${name}` }),
);
Pick Encore.ts if you are building several backend services and want infrastructure, tracing and local environments handled together. It is not a drop-in for a Hono app on Workers.
10. tRPC and oRPC: when the client is also TypeScript
If every consumer of your API is your own TypeScript front-end, Hono's RPC mode may be competing with tools built only for that. tRPC 11 is the established choice and runs anywhere through its fetch adapter. oRPC is newer and adds contract-first definitions and OpenAPI generation from the same procedures, with adapters for Node, Bun, Deno and Workers. Both validate with Standard Schema libraries such as Zod and Valibot; our Zod vs Valibot comparison helps with that choice.
import { os } from '@orpc/server';
import * as z from 'zod';
export const findPlanet = os
.input(z.object({ id: z.number() }))
.handler(async ({ input }) => ({ id: input.id, name: 'Earth' }));
export const router = { planet: { find: findPlanet } };
Pick tRPC or oRPC if you control both ends. Choose oRPC if you also need a public REST/OpenAPI surface. Many teams mount either one inside Hono rather than replacing it.
11. FastAPI: the cross-language alternative
When the backend is mostly AI, data or ML work, the strongest Hono alternative may not be TypeScript at all. FastAPI (0.165.0) uses Python type hints and Pydantic for validation and generates OpenAPI docs automatically. It runs on ASGI servers such as Uvicorn and deploys as a container or serverless function, not on Workers.
from fastapi import FastAPI
from pydantic import BaseModel, EmailStr
app = FastAPI()
class User(BaseModel):
email: EmailStr
@app.post("/users")
def create(user: User):
return {"created": user.email}
(EmailStr needs the email-validator extra: pip install "pydantic[email]".)
Pick FastAPI if your team or your libraries live in Python. Our FastAPI vs Hono for AI agents post compares them on agent workloads.
How to choose: pick X if...
| Your situation | Pick |
|---|---|
| You deploy to Cloudflare Workers or many edge runtimes | Stay on Hono, or itty-router for tiny Workers, or H3 |
| You run on Bun and want built-in validation, OpenAPI and a typed client | Elysia |
| You run long-lived Node.js servers and care about throughput | Fastify 5 |
| You depend on Express middleware or maintain an Express app | Express 5 |
| Several teams share one large backend | NestJS 12 |
| You want Nuxt/Nitro deployment presets | H3 v2 with Nitro |
| You want no framework at all | Bun.serve routes or Deno.serve |
| You need infrastructure provisioning with your API | Encore.ts |
| Only your own TypeScript clients call the API | tRPC, or oRPC if you also need OpenAPI |
| The backend is Python-heavy (AI, data) | FastAPI |
When evaluating, write the same three endpoints (one with validation, one with auth middleware, one streaming) in your top two candidates and deploy them to your real target. Do not rely on published benchmarks; most measure hello-world routing on one runtime, which rarely matches where your time goes. To inspect the OpenAPI documents these frameworks generate, a JSON formatter makes large specs easier to scan.
Migrating away from Hono
Because Hono handlers receive Web Standard Request objects and return Response objects, moving to another fetch-based option (Elysia, H3, itty-router, Bun.serve, Deno.serve) is mostly mechanical: rewrite route registration, replace c.json() with returned objects or Response.json(), and swap middleware for the target's equivalent. Moving to Express, Fastify or NestJS is a bigger change, because their request and response objects are Node-specific. Plan to rewrite middleware and tests, not just routes. Two pieces are hardest to move: validators wired into Hono's validator() middleware (Standard Schema schemas can usually be reused as-is) and code that depends on the hc RPC client, which has to be replaced by the target's client (Eden, tRPC or oRPC) or by generated OpenAPI clients.
Frequently Asked Questions
What is the best alternative to Hono?
For Bun, Elysia is the closest match. For Node.js servers, Fastify 5 offers the best mix of speed and built-in validation. For large teams, NestJS 12. If you deploy to Cloudflare Workers, Hono is still one of the strongest choices, and H3 or itty-router are the main alternatives.
Is Elysia better than Hono?
Neither is better overall. Elysia has stronger built-in validation, OpenAPI and typed-client integration on Bun. Hono has broader, more mature runtime support, especially on Cloudflare Workers, where Elysia's adapter is still experimental.
Can I use Express or Fastify on Cloudflare Workers?
Not as a normal deployment. Both are built on Node's HTTP server APIs. For Workers, use a Web Standard framework such as Hono, H3, itty-router, or Elysia's experimental Workers adapter.
Which Hono alternative has the best OpenAPI support?
FastAPI generates OpenAPI with no extra setup. In TypeScript, NestJS (@nestjs/swagger), Fastify (@fastify/swagger), Elysia (@elysia/openapi) and oRPC all generate specs from code; Hono does too through @hono/zod-openapi or hono-openapi.
Is Hono still worth using in 2026?
Yes. Hono 4.13 is actively released, runs on as many runtimes as any option here, and has first-party OpenAPI and RPC tooling. Look at alternatives when you need heavy structure (NestJS), Node-specific throughput tooling (Fastify), Bun-native features (Elysia) or a different language (FastAPI).
Bottom Line
There is no single Hono replacement, because Hono sits at an unusual intersection: tiny, portable, typed and edge-first. Elysia is the closest sibling on Bun, Fastify and Express own long-running Node servers, NestJS brings enterprise structure, H3 and itty-router keep the Web Standard portability, Bun and Deno can run small services with no framework, and Encore.ts, tRPC/oRPC and FastAPI solve adjacent problems. Choose by runtime first, then by how much structure and tooling you want, and prototype your two finalists on the platform you will actually deploy to.