Dev tools · alternatives · 2026
24 alternatives to SQLGlot
Python SQL Parser and Transpiler.
Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Prices are shown for the 22 we have checked on their own sites, 20 of them free or with a free tier. SQLGlot launched in 2021; newer entries below may have overtaken it.
Only the free ones: free alternatives to SQLGlot →
- 1

This browser-based tool translates SQL queries between different database dialects using sqlglot.
2025 · sqlscope.netlify.app · its alternatives →
- 2
learndb-pyfree▲371This is a relational database management system written entirely in Python that functions similarly to SQLite.
2023 · github.com · its alternatives →
- 3

- 4
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 · its alternatives →
- 5

A SQL database implemented purely in TypeScript type annotations.
2020 · github.com · its alternatives →
- 6

🪄 Inline SQL in any Python program.
2022 · github.com · its alternatives →
- 7

SQL-tString is a SQL builder that utilises the recently accepted PEP-750, https://peps.python.org/pep-0750/, t-strings to build SQL queries, for example, from sql_tstring import sql val = 2 query, values = sql(t"SELECT x FROM y WHERE x = {val}") assert query == "SELECT x FROM y WHERE x = ?" assert values == [2] db.execute(query, values) # Most DB engines support this The placeholder ? protects against SQL injection, but cannot be used everywhere. For example, a column name cannot be a placeholder. If you try this SQL-tString will raise an error, col = "x" sql(t"SELECT…
2025 · github.com · its alternatives →
- 8
sqlTranslatefree tier, from $14.99/mo▲94sql, data, analytics, database, query, syntax, translation
2023 · askai.free · its alternatives →
- 9

Lightweight text-based SQL parameter binds.
2024 · github.com · its alternatives →
- 10
SQL Polyglotfrom $5/mo▲53Try running a query anywhere from PostgreSQL to DuckDB without leaving your browser.
2023 · codapi.org · its alternatives →
- 11
Csqlfree▲89Csql is a Python library that helps developers build SQL queries through composition.
2020 · github.com · its alternatives →
- 12Ssqlc▲45
sqlc is a developer tool that generates type-safe Go code from SQL queries.
2019 · conroy.org · its alternatives →
- 13

- 14
Gsubpyfree▲65Gsubpy is an interpreter that executes a subset of Python code, built from scratch in Go.
2023 · github.com · its alternatives →
- 15
SPyQLfree▲105SPyQL (https://github.com/dcmoura/spyql) is SQL with Python in the middle, an open-source project fully written in Python for making command-line data processing more intuitive, readable and powerful. Try mixing in the same pot: a SQL SELECT for providing the structure, Python expressions for defining transformations and conditions, the essence of awk as a data-processing language, and the JSON handling capabilities of jq. How does a SPyQL query looks like? $ spyql “ IMPORT pendulum AS p SELECT (p.now() - p.from_timestamp(purchase_ts)).in_days() AS days_ago, sum_agg(price…
2022 · github.com · its alternatives →
- 16
PyQLfree▲15A tool to run SQL queries on Python files built using GitQL
2024 · github.com · its alternatives →
- 17

- 18
SQLPagefrom $19.44/mo▲45SQLPage is an open source tool that lets developers build small web applications using only SQL queries.
2023 · sql.ophir.dev · its alternatives →
- 19

A parser for SQLite create table sql statements.
2018 · github.com · its alternatives →
- 20

- 21

- 22
RasgoQLfree▲17Write python locally, execute SQL in your data warehouse
2022 · github.com · its alternatives →
- 23

Interactive SQL database exploration in Python.
2014 · github.com · its alternatives →
- 24
sql2structfree▲6A developer-friendly tool for transfering SQL to Go struct.
2022 · github.com · its alternatives →
Also compare
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →