---
agent:
  instructions: "Search Console’s published developer tool reviews, categories, and verified tech stack tags with keywords. Results include dated evidence and sources. Send Accept: text/markdown for Markdown. The default is JSON."
  endpoint: "https://console.dev/api/v1/tools?q={query}"
  method: "GET"
  documentation: "https://console.dev/developers#api"
---

# sqlc

Type-safe SQL for Go.

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

Website: [https://sqlc.dev/](<https://console.dev/out/sqlc/u5Rs30-4jd-A>)

Profile updated: 2026-11-27

## Key facts

Last checked: 2026-11-27

Platforms: Linux, Windows, macOS [Source](<https://sqlc.dev/>)

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

## Supported tech stack

Research checked: 2026-11-27

### Runs on

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

### Integrates with

- PostgreSQL (Integration)

### Written in

- Go (Language)

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

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

implementation: go. The implementation language is not explicitly stated, but based on the context and the fact that sqlc is a command line tool that generates type-safe code from SQL, it can be inferred that the implementation language is Go. Source: https://sqlc.dev/. Quote: sqlc generates fully type-safe idiomatic code from SQL.
runs\_on: linux. Native installation/execution OS/runtime Source: https://sqlc.dev/. Quote: Linux macOS (AMD64) macOS (ARM64) Windows
runs\_on: macos. Native installation/execution OS/runtime Source: https://sqlc.dev/. Quote: Linux macOS (AMD64) macOS (ARM64) Windows
runs\_on: windows. Native installation/execution OS/runtime Source: https://sqlc.dev/. Quote: Linux macOS (AMD64) macOS (ARM64) Windows
integration: postgresql. Documented integration/build target Source: https://sqlc.dev/. Quote: Managed databases for any PostgreSQL server

## 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>)
