# sqlc

> sqlc is a developer tool that generates type-safe Go code from SQL queries.

Page: https://nowfound.app/launch/sqlc-compile-sql-queries-to-type-safe-go

- Launched: 2019-12-11
- Launch-day votes: 45, 12 comments; #571 of 2,610 launches that month (top 22%)
- Website: [conroy.org](https://conroy.org/introducing-sqlc), online when checked 2026-11-29
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Forecast: 92% chance its website is still online in November 2031 (99% in November 2027, 95% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2019: 80%. [Method](https://nowfound.app/forecast.md)
- Originality: 18/100 (crowded field). More original than 18% of products launched in 2019. On its launch day the archive already held 12 similar products; 59 products like it have launched since.

## In plain words

sqlc is a developer tool that generates type-safe Go code from SQL queries. It compiles SQL directly into Go functions, eliminating the need to write database access code manually. Launched in 2019, sqlc is designed for Go developers who want to reduce boilerplate and catch database-related errors at compile time rather than runtime. The tool bridges the gap between raw SQL and strongly-typed application code.

_Written by AI from its launch page and website, 2026-09-11._

## Does a similar job

- [A SQL database implemented purely in TypeScript](https://nowfound.app/launch/a-sql-database-implemented-purely-in-typescript-type-annotat): A SQL database implemented purely in TypeScript type annotations. (2020-09-28, 426 votes, free, forecast: 95% online in 2031, github.com)
- [Visual SQL](https://nowfound.app/launch/visual-sql): Through months of design, prototypes, and user tests we made a visual version of SQL - which has proven to enable 80% of business users to write complex quer… (2020-03-11, 512 votes, forecast: 92% online in 2031, chartio.com)
- [Godb is a simple Go ORM for PostgreSQL, MySQL](https://nowfound.app/launch/godb-is-a-simple-go-orm-for-postgresql-mysql-sqlite-and-sql): A Go SQL query builder and struct mapper. (2016-12-15, 205 votes, free, forecast: 92% online in 2031, github.com)
- [PgTyped](https://nowfound.app/launch/pgtyped-typesafe-sql-in-typescript-and-postgres): pgTyped - Typesafe SQL in TypeScript. (2020-05-25, 269 votes, free, forecast: 95% online in 2031, github.com)
- [GoSQL](https://nowfound.app/launch/gosql-a-query-engine-in-319-loc): GoSQL is a minimal SQL query engine written in Go with just 319 lines of code. (2024-10-07, 81 votes, free, forecast: 95% online in 2031, github.com)
- [Kysely](https://nowfound.app/launch/kysely-a-type-safe-sql-query-builder-for-typescript): The most powerful type-safe SQL query builder for TypeScript (2023-06-21, 90 votes, free, forecast: 95% online in 2031, kysely.dev)

All alternatives: https://nowfound.app/alternatives/sqlc-compile-sql-queries-to-type-safe-go.md

## For the maker of sqlc

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/sqlc-compile-sql-queries-to-type-safe-go
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/sqlc-compile-sql-queries-to-type-safe-go"><img src="https://nowfound.app/badge/sqlc-compile-sql-queries-to-type-safe-go.svg" alt="sqlc on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=21765689)
