pgquery

pgquery / Browser PostgreSQL clients compared

Guide · Comparison

Browser-based PostgreSQL clients, compared honestly

Seven tools you can open in a browser tab, side by side. pgquery is ours, so we are listing where it falls short as carefully as where it does well.

Web-based PostgreSQL clients
FeaturepgquerypgwebDbGatepgAdmin 4CloudBeaver CEAdminerSupabase Studio
Self-hosted asOne Go containerOne Go binary or containerNode.js server (container or npm); also desktopPython web appJava web appOne PHP filePart of the Supabase stack
DatabasesPostgreSQLPostgreSQLMany (some Premium)PostgreSQLManyManyPostgreSQL
Own login and user accountsNoPut it behind a VPN or auth proxyPartlyHTTP basic authYesYesYesPartlyDatabase login onlyPartlyBasic auth when self-hosted
SSH tunnelNoYesYesYesYesNoNo
SQL editor with autocompleteYesYesYesYesYesPartlyPlain text areaYes
Edit table rowsYesRuns directlyNoWrite the UPDATE yourselfYesPreviews the SQLYesYesYesYes
ER diagramYesExports SVG / PNGNoYesYesPartlyDepends on editionPartlyBasic schema viewYes
Visual EXPLAINYesTree with time sharePartlyEXPLAIN as textNot in its feature listYesYesPartlyEXPLAIN as a tableYes
Row Level Security editorYesNoNot in its feature listYesNoWrite the SQLNoYes
Performance and security advisorsYesPartlyActivity and settings viewsNoPartlyActivity dashboardsNoNoYesMore checks than pgquery
Backup and restoreNoUse pg_dumpPartlypg_dump export, no restorePartlyImport / export, NDJSON archivesYesPartlyData exportPartlySQL export / importPartlyPlatform backups
Import CSVNoNoYesAlso Excel, JSON, XMLYesYesYesYes
Schema compare / diffNoNoYesYesNoNoNo
PL/pgSQL debuggerNoNoNoYesNoNoNo
Previews SQL for schema changesYesEvery schema formNoNo schema formsYesAlso for row editsYesSQL tab in dialogsPartlyPartlyPartly
LicenseMITMITGPL-3.0 (paid Premium)PostgreSQL LicenseApache 2.0Apache 2.0 or GPL 2Apache 2.0
MaturityNew (2026), one maintainer10+ years, small teamVery active, company-backed10+ years, PostgreSQL communityMature, backed by DBeaverMature, slow-movingLarge company, very active
Yes Partly No · Checked against each project’s documentation, November 2026. Corrections welcome on GitHub.

Where pgquery wins

  • More than a query explorer: RLS policies, roles, indexes, functions, triggers, extensions and settings, which pgweb doesn’t cover.
  • Postgres-specific depth DbGate doesn’t focus on: Row Level Security, performance and security advisors, pg_stat_statements.
  • EXPLAIN ANALYZE as a tree that points at the slowest node and flags bad row estimates.
  • Small and stateless: one container with a Go binary, nothing stored on the server.
  • Schema changes made through forms (CREATE, ALTER, GRANT, policies) are shown as SQL first, and you run them yourself.

Where pgquery loses

  • No SSH tunnels. pgweb, DbGate, pgAdmin and CloudBeaver connect through a bastion host where pgquery cannot.
  • No login of its own. pgweb has basic auth, DbGate, pgAdmin and CloudBeaver have accounts; pgquery needs a VPN or an auth proxy.
  • PostgreSQL only. DbGate, CloudBeaver and Adminer also speak MySQL, SQLite, SQL Server and more.
  • No backup / restore, CSV import or schema diff. DbGate and pgAdmin have them, and DbGate previews even row edits as SQL.
  • Not a single binary: pgweb runs without Docker on Mac, Linux and Windows.
  • It is young. pgweb and pgAdmin have more than ten years of bug reports behind them.

Which one to pick

pgquery
You want a fast, modern Postgres GUI you can run anywhere in one command, and you will put it behind your own access control.
pgweb
You want a lean, proven query explorer as a single binary, with SSH tunnels and no Docker.
DbGate
You work with several databases and want a full-featured manager: import / export, schema compare, query designer.
pgAdmin 4
You need the most complete PostgreSQL administration: backups, debugging, schema diff, many servers, user accounts.
CloudBeaver
Your team works with several database engines and wants one web tool with logins for all of them.
Adminer
You need something tiny on a PHP server for occasional edits, across database types.
Supabase Studio
You run on Supabase. It is the best-integrated choice there, with auth, storage and functions alongside the database.

Desktop apps are a separate category: see pgquery vs DBeaver.

Questions

Which browser-based PostgreSQL client is the best?

It depends on what you need. For full administration with logins, pgAdmin 4. For several database engines, DbGate or CloudBeaver. For a lean query explorer as one binary, pgweb. For Postgres administration (RLS, roles, advisors, EXPLAIN) in one small container, pgquery.

How is pgquery different from pgweb?

pgweb is a lean, mature query explorer: browse tables, run SQL, export, SSH tunnels, single binary. pgquery adds the administration side (RLS policies, roles, indexes, functions, triggers, extensions, settings), performance and security advisors, a visual EXPLAIN tree and an ER diagram. pgweb wins on SSH tunnels, single binary and maturity.

Are any of these free?

All five have free, open-source versions. CloudBeaver and Supabase also sell paid editions or hosting.

Is it safe to use a web-based database client?

Yes, if you control who can reach it. Self-host it next to your database and put it behind a VPN or an authenticating proxy, or use a tool with its own login.

More chapters