# sqlc

Type-safe SQL for Go.

Source: [Console review](<https://console.dev/tools/sqlc>)

Website: [https://sqlc.dev/](<https://sqlc.dev/>)

Profile updated: 2026-10-16

Category: [Database management](<https://console.dev/tools/categories/database-management>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Linux (Operating system)
- Windows (Operating system)
- macOS (Operating system)

Source: [Research source](<https://sqlc.dev/>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

SQL code generator provides Linux, macOS and Windows downloads.

## Console’s review — 2024-05-02

Reviewed: 2024-05-02

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/sqlc#review_41bd6ab4424db03e8a5098caa8360076d8c85e65ed1e0b21ff438e4a12e3624d>)

### What we like

Generates idiomatic Go code based on your database schema and desired queries. Translates SQL to type-safe Go code. Interface to the generated code feels like proper Go. Can run static analysis on schema changes to detect breaking changes across the codebase. Useful tools to help ensure codegen is up to date and highlights SQL anti-patterns. Open source.

### Tradeoffs

No support for cloud databases like BigQuery or ClickHouse (there is currently a waitlist). Primarily supports Go, but has some experimental plugins for Python and TypeScript.

This review reflects Console’s assessment at publication on 2024-05-02. Features and limitations may have changed since the review date.

## Is sqlc a fit?

Based on [Console’s review published on 2024-05-02](<https://console.dev/tools/sqlc#review_41bd6ab4424db03e8a5098caa8360076d8c85e65ed1e0b21ff438e4a12e3624d>).

Summary updated: 2026-10-16

### Who it’s for

Developers using Go and needing type-safe SQL

### Why consider it

Generates idiomatic Go code based on database schema and desired queries

### Keep in mind

Limited support for certain databases like BigQuery or ClickHouse

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
