PgAdmin 4

pgAdmin 4 is a web-based administration tool for the PostgreSQL database.

  • Databases
  • Tools & Utilities
pgAdmin 4 is a web-based administration tool for the PostgreSQL database. It provides a browser-based graphical interface for managing PostgreSQL servers, letting you create database connections, run queries, and administer users, roles, and tables without relying on the command line. It is aimed at self-hosters and database administrators who want a centralised dashboard for one or more PostgreSQL instances. pgAdmin 4 is maintained by the official pgAdmin project and is commonly deployed as a Docker container alongside your database.

Platform availability

Available on 3 of 9 platforms

  • Unraid
  • TrueNAS
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

79/100 Good

Maintained
100last commit 12 days ago
Popular
723,869 GitHub stars
Easy to install
452 install platforms, install notes, Docker image
Light to run
No data

Based on 3 of 4 factors.

Availability: platform listings confirmed today, links checked 16 days ago

GitHub stars
3,869
Open issues
338
Last commit
2026-10-02
Activity
rising

Checked 7 days ago - source: GitHub (pgadmin-org/pgadmin4)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 16 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set accounts and keep ports free Before running the setup script, fill in the env (environment variable) files pgadmin-env.list with your pgAdmin login and pg-env.list with the database login, and make sure network ports 5050 and 5432 are free. The first file is the first-run pgAdmin account, the second is the database account, and the ports are the address you use to reach pgAdmin and PostgreSQL. source
  • Add your database server in pgAdmin After opening http://localhost:5050 and logging in, add a server with hostname postgres and the database username and password from pg-env.list. Without this step, pgAdmin can open but will not have your database to show. source
  • Keep volumes and env files safe Keep the Docker volumes (storage spaces for the containers) pgvolume and pga4volume, plus the two env files, safe because they hold your database data, pgAdmin settings, and passwords. If you delete or lose them, you can lose your database or be unable to recover the saved accounts. source
  • Unraid: set Config ownership before first start The Config volume mapped to /config must be owned by the container's non-root pgadmin user (UID/GID 5050). Create the mapped Config folder before first start, then in the Unraid terminal run chown -R 5050:5050 /mnt/user/appdata/pgadmin4, and restart the container to continue setup. source

Fetched 8 days ago - each note links to its source

Alternatives (11)

  • Beekeeper studio - Open Source SQL Editor and Database Manager for MySQL, SQL Server, Postgres, Redshift, Sqlite and more.
  • DBeaver - A versatile, open-source database tool for developers and administrators supporting multiple databases via JDBC drivers with extensive plug…
  • DataGrip - DataGrip is a database IDE from JetBrains that is tailored to suit specific needs of professional SQL developers.
  • DbGate - DbGate The Smartest SQL+noSQL Database Client Cross-database MySQL, PostgreSQL, MS SQL, Oracle, MongoDB, SQLite and others
  • HeidiSQL - Supports MySQL, MariaDB, Microsoft SQL, and PostgreSQL for data viewing, editing, and exporting with no tracking and offline capabilities.
  • LibreDB Studio - LibreDB Studio is an open source (MIT), self-hosted SQL IDE.
  • Navicat - Navicat is a database administration tool that allows you to simultaneously connect to MySQL, MariaDB, SQL Server, Oracle, PostgreSQL, and…
  • TablePlus - A native app which helps you easily edit database data and structure.
  • TablePro Database Client - TablePro is a free, open-source database client for macOS and iOS.
  • Valentina Studio - FREE native AI enabled database manager for RDBMS: DuckDB, MariaDB, MySQL, Parquet, PostgreSQL, SQLite, SQL Server, Valentina DB, and Mongo…
  • cloudbeaver - CloudBeaver is a self-hosted, web-based database manager that provides a rich browser interface for connecting to and managing PostgreSQL,…

Checked 3 days ago - source: AlternativeTo

Common questions

How do I set the first pgAdmin account when running the container?

Set the PGADMIN_DEFAULT_EMAIL and PGADMIN_DEFAULT_PASSWORD environment variables when starting the container.

Which ports should be kept free for the pgAdmin and PostgreSQL Docker setup?

Keep port 5050 free for pgAdmin and port 5432 free for PostgreSQL. These are the ports used to reach pgAdmin at localhost:5050 and the database server.

How do I connect pgAdmin to a PostgreSQL server after logging in?

Open pgAdmin at localhost:5050, log in, and add a server with the database hostname, username, and password. The example uses hostname postgres and the credentials from the database env file.

Where should I report bugs or ask for pgAdmin support?

End-user questions go to the pgadmin-support mailing list, while bugs should be reported on the issue tracker. Security issues have a private address listed for them.

How are pgAdmin releases supported?

pgAdmin follows a rolling release policy and only supports the latest release. Fixes and new features are released in the next version rather than backported to older versions.

Answers sourced from context7.com, www.pgadmin.org, www.pgadmin.org

Community

Collected 10 days ago - public community threads