24 free alternatives to Bun-sqlgen
Types generator for your Bun.sql queries.
Bun-sqlgen is free itself (its own site, checked November 2026). Below are 24 products that do a similar job and cost nothing to start: 17 free outright and 7 with a free plan and paid upgrades. Each price was read from the product's own site. They are ranked by how close each is in meaning, then by launch-day votes.
- 1

An extremely simple and explicit ORM for TypeScript
2020 · github.com · price checked November 2026
- 2

A SQL database implemented purely in TypeScript type annotations.
2020 · github.com · price checked November 2026
- 3

- 4KKyselyFree▲90
The most powerful type-safe SQL query builder for TypeScript
2023 · kysely.dev · price checked November 2026
- 5
SQL Database Schema GeneratorFree▲129Production-ready boilerplate for Claude Code. CLAUDE.md templates, MCP configs, hooks, workflows, and everything you need to build faster with Claude Code.
2024 · supalaunch.com · price checked November 2026
- 6
AI SQL Editor by SupabaseFree plan, paid from $10/mo▲652Write SQL without knowing SQL
2023 · supabase.com · price checked November 2026
- 7
JinjaSQLFree▲77Template Language for SQL with Automatic Bind Parameter Extraction
2016 · github.com · price checked November 2026
- 8
dataheraldFree▲464Long story short: We (Dataherald) just open-sourced our entire codebase, including the core engine, the clients that interact with it and the backend application layer for authentication and RBAC. You can now use the full solution to build text-to-SQL into your product. The Problem: modern LLMs write syntactically correct SQL, but they struggle with real-world relational data. This is because real world data and schema is messy, natural language can often be ambiguous and LLMs are not trained on your specific dataset. Solution: The core NL-to-SQL engine in Dataherald is an LLM based agent…
2024 · github.com · price checked November 2026
- 9
ESQLateFree▲505Build minimum viable admin panels quickly with just SQL
2020 · github.com · price checked November 2026
- 10
Chat2DB LocalFree plan, one-time $9.90▲406After 6 months of working with 300+ early adopters, we've fundamentally reimagined how developers interact with databases. The core insight: Existing SQL tools treat AI as a plugin, but what if we rebuild the entire workflow around natural language? *Key technical changes*: • *Context-aware SQL Copilot* (Ctrl+K): Implements chain-of-thought prompting that self-debugs through query execution plans • *Multi-model routing*: Dynamically routes prompts to specialized models (Claude 3.7 Sonnet for schema analysis, GPT-4 for ambiguous requests) • *Zero-shot schema understanding*: Skips manual…
2024 · chat2db.ai · price checked November 2026
- 11

A pure ORM for writing native SQL queries yielding pure business objects
2021 · github.com · price checked November 2026
- 12
Natural-SQL-7BFree▲362Would love thoughts! Here is the HF page: https://huggingface.co/chatdb/natural-sql-7b
2024 · github.com · price checked November 2026
- 13
XmysqlFree▲145xmysql is now https://github.com/nocodb/nocodb.
2018 · github.com · price checked November 2026
- 14

A Go SQL query builder and struct mapper.
2016 · github.com · price checked November 2026
- 15
Pg-typesafeFree▲69Pg-typesafe is a TypeScript library that provides automatic type safety for raw PostgreSQL queries without requiring manual type definitions.
Feb 2026 · github.com · price checked November 2026
- 16

Using SQL's Turing Completeness to Build Tetris.
2024 · github.com · price checked November 2026
- 17
sqlTranslateFree plan, paid from $14.99/mo▲94sql, data, analytics, database, query, syntax, translation
2023 · askai.free · price checked November 2026
- 18
FSQLFree▲341Search for files using a fun query language.
2017 · github.com · price checked November 2026
- 19
OWOX SQL CopilotFree plan, paid from $500/mo▲86Generate SQL queries faster
2024 · owox.com · price checked November 2026
- 20
AI2sql 2.0Free plan, paid from $9/mo▲189Converse with your data in natural language
2023 · ai2sql.io · price checked November 2026
- 21
AqreoFree plan, one-time $9▲25Let Aqreo write your Queries - SQL, MongoDB, and more.
2025 · aqreo.com · price checked November 2026
- 22
Translate English to SQLFree▲209inferring sql queries from plain-text questions about tables
2019 · github.com · price checked November 2026
- 23
HasuraFree▲382Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events.
2018 · github.com · price checked November 2026
- 24
SQL playgroundFree plan, paid from $20/mo▲156Free private sample PostgreSQL databases
2021 · uibakery.io · price checked November 2026
All alternatives to Bun-sqlgen, paid too →About Bun-sqlgen →
Free means the product’s own site says it is free or offers a free plan, as read on the date shown. Plans change; check the site before you rely on one.