pgquery

pgquery / pgquery vs Supabase Studio

Guide · Comparison

pgquery vs Supabase Studio

Supabase Studio is the best dashboard for Supabase projects, and pgquery borrows its best ideas. The difference: pgquery works with any PostgreSQL and runs as one container.

pgquery and Supabase Studio
FeaturepgquerySupabase Studio
Works withYesAny PostgreSQLPartlySupabase projects
Self-hosted asOne containerThe Supabase stack (many containers)
Table editorYesYesMore polished
SQL editorYesYesWith an AI assistant
Row Level Security policiesYesYesWith templates
Schema visualizerYesSVG / PNG plate exportYes
Security and performance advisorsYesYesMore checks
Visual EXPLAINYesTree with time shareYes
Auth, storage, edge functionsNoYes
Own loginNoYes
LicenseMITApache 2.0
Yes Partly No · Checked against each project’s documentation, November 2026. Corrections welcome on GitHub.

Where pgquery wins

  • Works with RDS, Neon, Cloud SQL, a VPS or your laptop, with no Supabase project required.
  • One container instead of the whole Supabase stack.
  • Handy alongside Supabase too: compare environments or hand a teammate a read-only role.

Where pgquery loses

  • On Supabase, Studio is better integrated: auth, storage, functions, logs and an AI assistant.
  • Studio has more advisor checks and a more polished table editor.
  • Studio has a login; pgquery needs your own access control.

Using Supabase? See how to connect pgquery to Supabase.

docker run -p 54280:54280 ghcr.io/hxndrik/pgquery

Questions

Is pgquery affiliated with Supabase?

No. It is an independent open-source project.

Does it work with Supabase databases?

Yes. Use the session pooler connection string; see the Supabase connection guide.

More chapters