Skip to query studio
tinySQL browser lab
Ready

Pure Go · Local-first · SQL without the ceremony

# One SQL core.
Wherever your data runs.

tinySQL is a compact database engine for Go applications, browser-delivered tools, embedded systems and local data workflows — where heavyweight infrastructure does not fit.

MBTiles demo: a map served by SQL → Read the source ↗
Local query, no service required
`SELECT region, SUM(revenue)
FROM local_sales
GROUP BY region
ORDER BY SUM(revenue) DESC;`

Run the same SQL inside a Go process, directly in the browser, or alongside a local file workflow.

Browser tools

Import local files, query them with SQL and export the result — without a backend.

Go and embedded

Keep storage and query logic close to the application with one compact, pure-Go core.

Local data work

Use joins, geodata, full-text and vector helpers only when the workflow needs them.

MBTiles serving

Pan a live map whose every tile is one `SELECT` — see the MBTiles demo.

Ctrl/Cmd+Enter runs the selection or full query • Ctrl/Cmd+Space autocomplete • Tab to indent • ↑ recall last query

SQL query editor
Write SQL here. Use Ctrl or Command plus Enter to execute the selected SQL, or the full editor when nothing is selected. Use Tab to indent and the up arrow to recall the last query when the editor is empty.
⚡
Ready to Query
Write your SQL query above and click Execute to see results

### Pivot Grid

Use the pivot toolbar to render d3 charts