Basic Hello World in Hono

From the Hono cheat sheet · Getting Started · verified Jul 2026

Basic Hello World

Create your first Hono application

typescript
import { Hono } from 'hono'

const app = new Hono()

app.get('/', (c) => {
  return c.text('Hello Hono!')
})

export default app
💡 The context object "c" provides all request/response utilities
⚡ c.text(), c.json(), c.html() - common response helpers
📌 Export default for Cloudflare Workers and Bun
🎯 Hono uses Web Standard Request/Response APIs

More Hono tasks

Back to the full Hono cheat sheet