Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

sqlc

Free#15 of 33 in Code Generators

Generate type-safe application code from SQL.

—Not yet scored
sqlc— Visit sqlc

At a glance

  • Editor score
    Not yet scored
  • Pricing
    Free plan
  • Best for
    Type-safe SQL generation
  • Free plan
    Yes
  • Paid from
    None
  • Project scaffolding
    Yes
  • Facts checked
    20 Sep 2026
  • Where it wins

    • Generates type-safe code from SQL queries and schemas
    • Supports MySQL, PostgreSQL, and SQLite
    • Runs on Windows, macOS, and Linux
  • Where it doesn't

    • Built-in code generation is focused on Go
    • Database support centers on MySQL, PostgreSQL, and SQLite
    • AI features are not included

Our verdict on sqlc

sqlc is an open-source command-line tool for developers who want to generate type-safe application code from SQL schemas and queries. Projects are configured with sqlc.yaml, sqlc.yml, or sqlc.json, then generated with sqlc generate. The tool is particularly suited to teams that want SQL to remain the source of truth while adding static checking, query analysis, schema verification, and formatted queries to the development workflow.

Its strongest fit is a SQL-first engineering stack. sqlc provides built-in Go code generation and plugin-based generation for Kotlin, Python, and TypeScript. The category specification also lists C#, F#, Java, PHP, Ruby, Zig, and Rust as supported target languages, while the product description identifies additional community plugins. Database support includes MySQL, PostgreSQL, and SQLite. This combination gives teams a clear path from schema and query definitions to generated application code, with language and database coverage depending on the selected generator and plugin.

The product’s depth is concentrated in static SQL compilation and type checking rather than broad application scaffolding or AI-assisted development. Optional managed database analysis extends the workflow, while project scaffolding and CLI availability support repeatable generation in development environments. sqlc is a strong choice for developers who want open-source, SQL-centered code generation across Windows, macOS, and Linux. Teams seeking a wider database catalog, built-in generation beyond Go without plugins, or AI features should consider a different code generator.

sqlc pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on sqlc.dev

sqlc fact sheet

Free planYes
Paid fromNone
Project scaffoldingYes
Custom templatesNot verified
Schema-to-code generationYes
CLI availableYes
IDE pluginsNot verified
Supported languagesGo, Kotlin, Python, TypeScript, C#, F#, Java, PHP, Ruby, Zig, Rust
DeploymentSelf-hosted
PlatformsWindows, macOS, Linux
SupportDocs, Community
Built forSolo, Small business, Mid-market (editorial estimate)
PricingFree plan
Websitesqlc.dev
Facts checked20 Sep 2026

Alternatives to sqlc

See all sqlc alternatives →

Used sqlc? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used sqlc for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · your e-mail is never shown · read by an editor before it appears
Your rating

0 characters · at least 80, up to 3,000

You'll get a confirmation link by e-mail. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — sqlc —/10

sqlc is listed in our Code Generators directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/sqlc/"><img src="https://www.itechguides.com/best/badge/sqlc.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Guides on code generators

Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026

Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. It never changes a score or a verdict. How we rank.