Mathesar

June 17, 2026 · View on GitHub

Mathesar logo

Intuitive spreadsheet-like interface that lets users of all technical skill levels view, edit, query, and collaborate on Postgres data directly—self hosted, with native Postgres access control.

License GitHub closed issues GitHub commit activity

WebsiteDocsMathesar CloudMatrix (chat)DiscordContributor WikiRoadmap

Mathesar

Mathesar is a web application that makes working with PostgreSQL databases both simple and powerful. It empowers users of all technical skill levels to view, edit, query, and collaborate on data with a familiar spreadsheet-like interface, with no code needed. It’s self hosted, can be deployed in minutes, and works directly with PostgreSQL databases, schemas, and tables without extra abstractions. The project is 100% open source and maintained by Mathesar Foundation, a 501(c)(3) nonprofit.

Mathesar is as scalable as Postgres and supports any size or complexity of data, making it ideal for workflows involving production databases. It requires minimal setup, and integrates into your existing infrastructure. Because Mathesar is self-hosted, your data never leaves your servers, and access control based on Postgres roles and privileges keeps your database secure without adding unnecessary risk.

Table of Contents

Status

  • Public Alpha: You can install and deploy Mathesar on your server. Go easy on us!
  • Public Beta: Stable and feature-rich enough to implement in production
  • Public: Widely used in production environments

We are currently in the public beta stage.

Install Mathesar

Please see our documentation for instructions on installing Mathesar on your own server.

Want to use Mathesar without installing it? Mathesar Cloud is in now early beta and has a free plan.

Join our community

The Mathesar team is on Matrix (chat service). We also have mailing lists and the core team discusses day-to-day work on our developer mailing list.

Contribute to Mathesar

We actively encourage contribution! Get started by reading our Contributor Guide.

Features

  • Built on Postgres: Connect to an existing Postgres database or set one up from scratch.
  • Install in minutes: Install using Docker in minutes, integrate into any existing infrastructure.
  • Postgres-based access control: Use existing Postgres roles within Mathesar's UI, or set up your own.
  • Interoperable with other tools: Mathesar works harmoniously alongside your database and thousands of other tools in the Postgres ecosystem.
  • Set up your data models: Easily create and update Postgres schemas and tables.
  • Data entry: Use our spreadsheet-like interface to view, create, update, and delete table records.
  • Filter, sort, and group: Quickly slice your data in different ways.
  • Query builder: Use our Data Explorer to build queries without knowing anything about SQL or joins.
  • Forms: Build and share forms to collect data from anyone via a unique link, with submissions automatically saved as new records.
  • Import and export data: Import and export data into Mathesar easily to work with your data elsewhere.
  • Schema migrations: Transfer columns between tables in two clicks.
  • Uses Postgres features: Mathesar uses and manipulates Postgres schemas, primary keys, foreign keys, constraints and data types. e.g. "Relationships" in the UI are foreign keys in the database.
  • Custom data types: Custom data types for emails and URLs, validated at the database level.

Screenshots

Connecting a database

Mathesar dialog for creating a PostgreSQL database with sample dataset options.

Adding collaborators

Mathesar collaborators page showing a read-only user added to the showcase database.

Viewing a Postgres schema

Mathesar schema page showing the Library Management tables, forms, and explorations.

Working with tables

Mathesar table view for ice cream shop timesheets with the table inspector open.

Finding a nested record

Mathesar table view with nested record selection open for choosing a timesheet employee.

Linking two tables together

Mathesar relationship creation interface for linking two PostgreSQL tables.

Managing table permissions

Mathesar table permissions interface showing read-only and custom role privileges.

Mathesar single-record page for a library item with related checkout records visible.

Building a form

Mathesar form builder for a bike shop service request form with field rules open.

Filling out a form

Public Mathesar service request form being filled with a mechanic search.

Viewing an Exploration (query result)

Mathesar exploration page showing bike shop customers with related service requests.

Building an Exploration (query)

Mathesar Data Explorer query builder showing a service request list aggregation.

Disconnecting a database

Mathesar confirmation dialog for disconnecting the showcase database.

Mathesar in action

https://github.com/user-attachments/assets/6bdfb178-17b4-4abf-aac4-9781e1d841ab

Our motivation

Using databases shouldn't require technical expertise or expensive, closed-off tools. Databases are incredibly powerful, but they're often trapped behind complex interfaces that are hard to use or limit how people can access and share their data. We want to change that by building user-friendly tools that unlock the power of existing databases without sacrificing accessibility, portability, or extensibility.

Mathesar is our answer: an open-source platform designed to unlock the full potential of PostgreSQL, one of the most powerful and trusted open-source databases. Mathesar is easy to use, interoperable, and extensible, while also giving you complete control over your data. As a nonprofit, we're committed to keeping Mathesar 100% open source and available to everyone. Better ways to work with data mean better decisions, and better decisions lead to a better world.

Bugs and troubleshooting

If you run into problems, refer to our troubleshooting guide.

License

Mathesar is open source under the GPLv3 license - see LICENSE. It also contains derivatives of third-party open source modules licensed under the MIT license. See the list and respective licenses in THIRDPARTY.