Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    2,386+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1553
    • Coding1159
    • Infrastructure523
    • Marketing440
    • Design415
    • Projects376
    • Research347
    • Analytics324
    • Testing213
    • MCP207
    • Data200
    • Security186
    • Integration167
    • Learning154
    • Communication144
    • Prompts137
    • Extensions132
    • Commerce122
    • Voice122
    • DevOps97
    • Web74
    • Finance21
    1. Home
    2. Tools
    3. sqlc
    sqlc icon

    sqlc

    Database Tools

    sqlc generates fully type-safe, idiomatic code from SQL queries, eliminating boilerplate database access code and catching schema errors before they reach production.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source under the MIT License. Download and use without restrictions.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Database ToolsCode IntelligenceAI Development Libraries

    Alternatives

    npmx.devCortex Codepg-boss
    Developer
    sqlc-devsqlc-dev is the open-source organization behind sqlc, a SQL…

    Listed May 2026

    About sqlc

    sqlc is an open-source SQL compiler that takes your SQL queries and generates type-safe code in Go, Kotlin, Python, or TypeScript. Created by Kyle Conroy and maintained under the sqlc-dev GitHub organization, it is licensed under the MIT License and available as a CLI tool for Linux, macOS, and Windows. The project has accumulated over 17,700 GitHub stars and is actively maintained, with the latest release being v1.31.1 published in April 2026.

    What It Is

    sqlc sits in the database access layer of an application stack. Instead of writing repetitive boilerplate to query a database and map results to typed structs or objects, developers write plain SQL and run sqlc generate to produce idiomatic, type-safe interfaces. The workflow is: write SQL queries → run sqlc → call the generated methods from application code. This approach keeps SQL as the source of truth while giving the compiler-level safety of a typed language.

    How the Workflow Works

    The core loop is straightforward:

    • Write SQL schema migrations and queries in .sql files.
    • Configure sqlc via a sqlc.yaml file specifying the target language, database engine, and output paths.
    • Run sqlc generate to produce code with typed structs and method signatures matching each query.
    • Call the generated methods directly from application code — no manual scanning, no reflection-based ORM magic.

    The generated code is plain, readable source code that can be committed to version control and reviewed like any other code.

    Schema Verification with sqlc verify

    A notable feature introduced in v1.24.0 is sqlc verify, which analyzes existing queries against proposed schema changes and reports errors before the schema change is applied to a production database. The project homepage describes this as a safeguard against schema updates and poorly-written queries that "often bring down production databases." This makes sqlc useful not just at code-generation time but also as a CI check during schema migrations.

    Language and Database Support

    sqlc supports multiple target languages through official and community plugins:

    • Go via sqlc-gen-go
    • Kotlin via sqlc-gen-kotlin
    • Python via sqlc-gen-python
    • TypeScript via sqlc-gen-typescript

    Supported database engines include PostgreSQL, MySQL, and SQLite. Additional language targets can be added through the plugin system documented in the official docs.

    Update: v1.31.1 and Recent Releases

    The latest release is v1.31.1, published on April 22, 2026. Recent notable releases include:

    • v1.27.0 (August 2024): Added support for local managed databases for any PostgreSQL server.
    • v1.26.0 (March 2024): Primarily a bug fix and security fix release.
    • v1.25.0 (January 2024): Removed the cgo dependency, simplifying cross-compilation and distribution.

    The project is actively maintained with regular releases and an open issue tracker, signaling continued development momentum.

    sqlc - 1

    Community Discussions

    Be the first to start a conversation about sqlc

    Share your experience with sqlc, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source under the MIT License. Download and use without restrictions.

    • Type-safe code generation from SQL
    • Go, Kotlin, Python, TypeScript support
    • PostgreSQL, MySQL, SQLite support
    • sqlc verify for schema change validation
    • Plugin system for community languages

    Capabilities

    Key Features

    • Generates type-safe code from SQL queries
    • Supports Go, Kotlin, Python, and TypeScript code generation
    • Works with PostgreSQL, MySQL, and SQLite
    • sqlc verify catches schema change errors before production
    • Plugin system for community language support
    • CLI tool for Linux, macOS, and Windows
    • No boilerplate SQL querying code required
    • Idiomatic generated code committable to version control
    • Local managed database support (v1.27.0+)
    • Interactive playground at play.sqlc.dev

    Integrations

    PostgreSQL
    MySQL
    SQLite
    Go
    Kotlin
    Python
    TypeScript
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate sqlc and help others make informed decisions.

    Developer

    sqlc-dev

    sqlc-dev is the open-source organization behind sqlc, a SQL compiler that generates type-safe database access code for Go, Kotlin, Python, and TypeScript. The project was created by Kyle Conroy and is maintained by a community of contributors on GitHub under the MIT License. sqlc-dev focuses on eliminating database boilerplate and improving production safety through compile-time SQL validation and schema verification tooling.

    Read more about sqlc-dev
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    npmx.dev icon

    npmx.dev

    A fast, modern browser for the npm registry with enhanced search, package details, vulnerability warnings, and an improved developer experience.

    Cortex Code icon

    Cortex Code

    AI-powered code assistant built into Snowflake that helps developers write, understand, and optimize SQL and Python code.

    pg-boss icon

    pg-boss

    A job queue built on PostgreSQL for Node.js applications, providing reliable background job processing with scheduling and retry capabilities.

    Browse all tools

    Related Topics

    Database Tools

    AI-powered tools for database management, optimization, query construction, and schema design that enhance developer productivity and database performance.

    38 tools

    Code Intelligence

    AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

    61 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    171 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Discussions