Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience real numbers from our own analytics — open to see them
–Visitors
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · counted by iTechGuides's own first-party analytics, bots removed, every figure rounded down · how we count

Sumak

Free#33 of 51 in Database Query Builders

Sumak: A free, open-source query builder for TypeScript teams that need compiled SQL and introspection. Ranked #33 of 51 in Database Query Builders by our editors (5.7/10); pricing: Free plan; best for typeScript teams needing compiled queries and introspection.

5.7/10Editor score
Sumak5.7 Visit Sumak

At a glance

  • Editor score
    5.7 / 10
  • Pricing
    Free plan
  • Best for
    TypeScript teams needing compiled queries and introspection
  • Free plan
    Yes
  • Paid from
    None
  • Type safety
    Static
  • Facts checked
    4 Oct 2026
  • Where it wins

    • Build type-checked queries for common SQL operations
    • Compile SQL for PostgreSQL, MySQL, SQLite, and MSSQL
    • Generate schema DDL and introspect databases
  • Where it doesn't

    • Asynchronous execution requires a supplied database driver
    • Raw SQL escape hatches allow expressions outside the typed builder
    • Focused on TypeScript rather than multiple programming languages

Our verdict on Sumak

Sumak is a free, open-source TypeScript SQL query builder for teams that want a chainable way to define tables and construct database queries. Its static type checking covers common operations, including SELECT, INSERT, UPDATE, and DELETE. The project also supports joins, subqueries, common table expressions, transactions, and schema tools, making it relevant to small and mid-market TypeScript teams building applications around relational databases.

Its AST-based compiler generates SQL for PostgreSQL, MySQL, SQLite, and Microsoft SQL Server. Developers can compile queries without a database driver, while supplying a driver enables optional asynchronous execution. Reusable compiled queries use parameter placeholders; raw SQL tagged templates and unsafe expressions provide escape hatches when the builder does not express a needed query. Plugin and hook APIs can transform queries and results. This combination suits teams that want typed construction alongside control over generated SQL, though raw expressions require care outside the guarantees of the typed builder.

Schema DDL generation and database introspection extend Sumak beyond query construction, and the MIT license makes it an option for teams seeking open-source tooling. Its fit is strongest for TypeScript codebases that value static typing, compiled queries, and schema inspection across its supported dialects. Teams looking for a database-independent, multi-language query layer should consider alternatives, as Sumak is specifically a TypeScript project. Those needing asynchronous database access should also account for providing a driver; without one, the described workflow generates SQL rather than executing queries.

Your product? Our editors can test Sumak in depth and publish a review, labelled as paid · from $99/mo →

Sumak pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

Sumak fact sheet

Free planYes
Paid fromNone
LanguagesTypeScript
SQL dialectsPostgreSQL, MySQL, SQLite, MSSQL
Type safetyStatic
Async queriesYes
Raw SQL supportYes
Compile without executionYes
DeploymentCloud
PlatformsWeb
Built forSmall business, Mid-market (editorial estimate)
PricingFree plan
Websitegithub.com
Facts checked4 Oct 2026

Alternatives to Sumak

See all Sumak alternatives →

Used Sumak? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Sumak for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Sumak 5.7/10

Sumak is listed in our Database Query Builders directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/sumak/"><img src="https://www.itechguides.com/best/badge/sumak.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. How we rank.

Last updated · How we research and update