# Mathesar

> Secure, spreadsheet-like tool for Postgres data

Source: https://talira.ai/catalog/mathesar-vngn3erp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [no code / databases](https://talira.ai/categories/no-code/databases), [databases / postgres / gui clients](https://talira.ai/categories/databases/postgres/gui-clients)
- Platforms: web, docker, linux, macos, windows[^1]
- Licence: GPL-3.0-only[^3][^4]
- Pricing: Free and open source[^4]
- Pricing notes: Self-hosting is free under the GPL. Mathesar Cloud: Free plan (one user, hosted Postgres) at $0 during early beta; Team plan coming soon with price to be determined; Dedicated custom.
- Free tier: yes[^4]
- Self-hostable: yes[^1][^4]
- Cloud hosted: yes[^4]
- SSO: yes[^2]
- API: yes[^5]
- Backed by: [Mathesar Foundation](https://talira.ai/orgs/mathesar-foundation.md)
- Funding: non-profit[^6]

Mathesar is an open source web app that gives people a spreadsheet-like interface to view, edit, filter and query the tables in an existing [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) database, without writing SQL. It works directly on Postgres schemas, foreign keys and data types, and access control is Postgres's own roles and privileges rather than a separate permission layer. It also builds public forms that insert rows, file columns backed by S3-compatible storage, and a read-only Data Explorer for saved reports. It is GPL-licensed and self-hosted with [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md); the nonprofit Mathesar Foundation that maintains it also runs Mathesar Cloud, free during its early beta.

## Links

- Website: https://mathesar.org/
- GitHub: https://github.com/mathesar-foundation/mathesar
- Docs: https://docs.mathesar.org/latest/
- Pricing: https://mathesar.cloud/site/pricing

## Problems it solves

- let non-technical colleagues view and edit our Postgres tables like a spreadsheet without learning SQL
- give the operations team a friendly UI on our production Postgres database without building an admin panel
- access control for a database UI should just use our existing Postgres roles and permissions
- build reports joining several Postgres tables with filters and grouping, without writing SQL
- edit rows that reference other tables by picking the related record instead of typing foreign key IDs
- import a CSV or JSON file into a new Postgres table and have column types guessed for me
- export a filtered Postgres table to CSV for a colleague
- collect submissions from a public web form straight into a Postgres table
- attach files and images to rows in my Postgres tables and preview them
- a self-hosted open source alternative to Airtable that keeps data in a real Postgres database we control
- design new Postgres tables, columns and relationships from a web interface
- run a spreadsheet-like Postgres UI on our own server with Docker in a few minutes
- invite collaborators to a Postgres database UI and map each one to a database role
- staff should sign in to our self-hosted database UI with Okta, Google Workspace or Entra ID
- try a spreadsheet interface on a hosted Postgres database for free without installing anything
- a nonprofit-maintained data tool we can rely on without vendor lock-in or per-seat fees

## Features

- spreadsheet-like table view for viewing, editing and entering records
- works directly on existing PostgreSQL schemas, tables, foreign keys and types
- access control through Postgres roles and privileges, with collaborators mapped to roles
- Data Explorer: joins, filters, sorting, grouping and summaries saved as reusable explorations
- record pickers for related rows across foreign keys
- CSV and JSON import with automatic column type inference
- CSV export of filtered and sorted tables
- public forms that insert records into a table
- file columns with previews, backed by S3-compatible object storage
- user-friendly data types mapped onto Postgres types, with display formatting
- single sign-on through any OIDC provider and GitHub
- JSON-RPC API (documented as unstable)
- Docker Compose install on Linux, macOS or Windows, plus DigitalOcean and Railway guides
- Mathesar Cloud: hosted Postgres database and Mathesar, free during early beta

## Ways to run it

### Mathesar

You run it, GPL-3.0-only. Price: free.[^1][^2][^3]

Only in this edition:

- single sign-on through OIDC providers and GitHub
- full control of the server and data

You arrange:

- a server with Docker and Docker Compose (Linux, macOS or Windows)
- PostgreSQL: the bundled container or your own server for Mathesar's internal database
- a domain and HTTPS if it's reachable from outside
- S3-compatible object storage if you want file columns
- an OIDC identity provider if you want single sign-on
- upgrades and backups

Self-hosting docs: https://docs.mathesar.org/latest/administration/install-via-docker-compose/

### Mathesar Cloud

Hosted by Mathesar Foundation. Price: Free during early beta (one user); Team coming soon, price to be determined; Dedicated custom.[^4]

Only in this edition:

- a hosted Postgres database
- no servers to install or maintain

Not included:

- collaborators and multiple databases until the Team plan launches

Pricing: https://mathesar.cloud/site/pricing

## Capabilities

- Has an API: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.65, adoption 0.74, momentum 0.57, community 0.88, backing 0.55, extensibility 0.20.

- last commit 6 days ago
- 8 commits in the last 90 days
- latest release 0.12.0 4 months ago
- 5.2k GitHub stars
- 161 contributors
- accepts sponsorship (Github, Open Collective)
- backed by Mathesar Foundation
- funding: non-profit

## Alternatives

- [NocoDB](https://talira.ai/catalog/nocodb-nwaw93ws.md): Build databases as spreadsheets, no coding required
- [Directus](https://talira.ai/catalog/directus-d68wv1ay.md): The backend for your whole team
- [Baserow](https://talira.ai/catalog/baserow-4217je04.md): The data collaboration platform for teams
- [Teable](https://talira.ai/catalog/teable-418h7ych.md): AI Spreadsheet for Business
- [Airtable](https://talira.ai/catalog/airtable-ffryqn4q.md): All your teams, all their workflows, connected in one workspace
- [Grist](https://talira.ai/catalog/grist-6s6sk9gg.md): A relational spreadsheet-database that empowers you to organize your data, your way

## Sources

[^1]: https://docs.mathesar.org/latest/administration/install-via-docker-compose/ (checked 18 Nov 2026)
[^2]: https://docs.mathesar.org/latest/administration/single-sign-on/ (checked 18 Nov 2026)
[^3]: https://github.com/mathesar-foundation/mathesar/blob/develop/LICENSE (checked 18 Nov 2026)
[^4]: https://mathesar.cloud/site/pricing (checked 18 Nov 2026)
[^5]: https://docs.mathesar.org/latest/api/ (checked 18 Nov 2026)
[^6]: https://mathesar.org/about (checked 20 Nov 2026)
