Dev tools · alternatives · 2026
24 alternatives to sql2struct
A developer-friendly tool for transfering SQL to Go struct.
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 16 we have checked on their own sites, 14 of them free or with a free tier. sql2struct launched in 2022; newer entries below may have overtaken it.
Only the free ones: free alternatives to sql2struct →
- 1

A Go SQL query builder and struct mapper.
2016 · github.com · its alternatives →
- 2Ssqlc▲45
sqlc is a developer tool that generates type-safe Go code from SQL queries.
2019 · conroy.org · its alternatives →
- 3
Visual SQL▲512Through 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 · chartio.com · its alternatives →
- 4

LRU cache using go generics.
2022 · github.com · its alternatives →
- 5

go generate based graphql server library.
2018 · github.com · its alternatives →
- 6

Generate SQL directly in your browser with help of AI
2022 · chromewebstore.google.com · its alternatives →
- 7
Sqlkitfree▲65SQL builder and powerful database toolkit for Golang
2019 · github.com · its alternatives →
- 8
Tablestructfree▲5tablestruct creates mappings between Go structs and database tables.
2014 · github.com · its alternatives →
- 9

dgw generates Golang struct, and simple Table/Row Data Gateway functions from PostgreSQL table metadata
2016 · github.com · its alternatives →
- 10

LBADD: An experimental, distributed SQL database.
2019 · github.com · its alternatives →
- 11

- 12

- 13
AskYourDatabase Desktopfrom $49/mo▲138AskYourDatabase Desktop is an AI-powered database client that lets users query SQL and NoSQL databases through natural conversation rather than writing code.
2023 · askyourdatabase.com · its alternatives →
- 14

Serialization code generator for QUICK struct content comparison
2019 · github.com · its alternatives →
- 15
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 →
- 16
sqlTranslatefree tier, from $14.99/mo▲94sql, data, analytics, database, query, syntax, translation
2023 · askai.free · its alternatives →
- 17TF
Structure.rest is a tool for creating SQL pipelines that enables users to build and manage data workflows.
2020 · its alternatives →
- 18
GoFast▲84Go hub to build high-performance, scalable web applications
2025 · gofast.live · its alternatives →
- 19

This browser-based tool translates SQL queries between different database dialects using sqlglot.
2025 · sqlscope.netlify.app · its alternatives →
- 20
GoSQLfree▲81GoSQL is a minimal SQL query engine written in Go with just 319 lines of code.
2024 · github.com · its alternatives →
- 21

- 22GM
Uses Go generics (1.18+) Supports shallow copy of fields Custom field transformations with fluent API Optional interface for struct-level control Example: type CreateUserDto struct { Name string…
2025 · its alternatives →
- 23

- 24
Restfree▲26Rest serves a fully RESTful API from any SQL database
2023 · 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 →