zerocactusSearch guides

NocoDB and other Airtable alternatives you can self-host

NocoDB, Baserow, Grist and Teable as self-hosted Airtable alternatives: how each one stores data, what running one involves, and how to move a base across.

NocoDB and other Airtable alternatives you can self-host

NocoDB is usually the first name that comes up when a small team starts looking for an Airtable alternative it can run on its own server. It is a good place to start, but it is not the only option, and the right one depends less on the grid view (they all have a grid view) and more on where your data lives and who will look after the server. I have moved three small teams off Airtable: a training provider tracking courses and bookings, a property manager logging repairs, and a charity that ran its volunteer rota from a base that had grown well past what anyone could follow. Each move went differently, and most of the surprises were about data, not the tool.

This piece covers NocoDB, Baserow, Grist and Teable in general terms, how running one yourself works, and a step-by-step plan for moving a base across without losing the links between tables.

Why teams leave Airtable

The reasons I hear most are cost as the team grows (Airtable's pricing is per seat, so adding occasional editors adds up), record or attachment limits on the plan they are on, and a wish to keep certain data on their own machines. A fourth reason comes up with developers: they want the data in a real database they can query with SQL, not only through an API.

It is worth being honest about what you give up. Airtable is polished, its interfaces and automations are mature, and it has a large catalogue of integrations. A self-hosted tool will feel rougher in places, and someone on your team becomes responsible for it. If none of the reasons above actually hurts, staying put is a perfectly sensible choice. The comparison of Airtable and Notion is useful if you are still deciding what shape of tool you need at all.

The four tools in brief

These descriptions are deliberately general. All four are under active development, so check each project's own documentation for the features you depend on.

NocoDB

NocoDB puts a spreadsheet-style interface on top of a SQL database. Its distinguishing trick is that it can connect to a database you already have, such as Postgres or MySQL, and show the existing tables as grids, forms, galleries and kanban boards. It can also run with its own database if you are starting fresh. It generates a REST API for your tables, so other tools can read and write records.

That "on top of an existing database" model is the reason to choose it. If you have an app with a Postgres database and your operations colleague wants to browse and edit some of those tables without writing SQL, NocoDB is a quick way to give them a friendly view. Be careful with permissions in that setup: you are giving people a direct editing window into production data.

Baserow

Baserow is an open-source, no-code database with a familiar Airtable-like feel. It stores data in its own Postgres database rather than wrapping yours. It has views, field types including links between tables, forms, an API and a plugin system. For a team that simply wants "Airtable, but on our server", Baserow is often the closest match in day-to-day use.

Grist

Grist looks like a spreadsheet but behaves more like a relational database, with formulas written in Python. Each document is stored as a SQLite file, which makes documents easy to back up and move. Its strength is calculation: if your base is full of rollups, lookups and formulas, Grist's formula model is powerful. Its layout tools (linked widgets on a page) take a little learning.

Teable

Teable is a younger project that also offers a spreadsheet-style interface on Postgres. It aims at large tables and a familiar Airtable-style experience. Because it is newer, I would test it carefully on a copy of your real data before committing, and check how active its releases and issue tracker look.

A quick comparison

This table describes how each tool is generally designed. It is not a feature checklist; verify the specifics against each project's documentation.

Question NocoDB Baserow Grist Teable
Works on your existing SQL database Yes, a main use No, own database No, own files No, own database
Storage Postgres, MySQL, SQLite Postgres SQLite per document Postgres
Formulas Spreadsheet-style Spreadsheet-style Python Spreadsheet-style
Feels closest to Airtable Fairly Very Less Fairly
Hosted option Yes Yes Yes Yes

All four have a hosted version run by the company behind them, so you can try each one without installing anything. Some features may be reserved for paid or enterprise editions in the self-hosted version too, so read the edition comparison before you plan around a feature.

What self-hosting involves

For a small team, self-hosting usually means one small virtual server running Docker, with the tool and its database in containers. The work is not hard, but it is ongoing. Here is the minimum I set up.

# docker-compose.yml (illustrative layout for a tool plus Postgres)
services:
  db:
    image: postgres:16
    environment:
      POSTGRES_USER: app
      POSTGRES_PASSWORD: change-me
      POSTGRES_DB: app
    volumes:
      - db_data:/var/lib/postgresql/data
    restart: unless-stopped
  app:
    image: the-tool-image-from-its-docs
    depends_on:
      - db
    ports:
      - "8080:8080"
    restart: unless-stopped
volumes:
  db_data:

The file above shows the shape only: one database container with a named volume so data survives restarts, and one application container. The application image, its environment variables and its port come from each tool's own installation guide, so copy those from the official documentation rather than from here.

Around that you need:

  1. A domain name and HTTPS, usually through a reverse proxy such as Caddy or Nginx.
  2. Nightly backups of the database, copied off the server. Test a restore once before you rely on it.
  3. A plan for updates: read the release notes, back up, then pull the new image.
  4. An uptime check from outside the server so you hear about outages before your colleagues do.
  5. Email settings, so invitations and password resets actually arrive.

For backups of a Postgres-based tool, a plain dump on a schedule is enough to begin with.

# nightly backup, run from cron on the server
docker compose exec -T db pg_dump -U app app | gzip > /backups/app-$(date +%F).sql.gz
find /backups -name "app-*.sql.gz" -mtime +14 -delete

The first line writes a compressed dump with the date in the filename; the second deletes dumps older than two weeks. Copy the folder somewhere else (object storage, another machine) or it is not really a backup.

I budget about an hour a month for upkeep on one of these servers. If nobody can commit that hour, use the hosted version of whichever tool you pick, and you still get the benefits of a different pricing model.

Moving a base off Airtable, step by step

The repair-logging base for the property manager had four tables: Properties, Units, Tenants and Repairs. Repairs linked to Units, Units linked to Properties, and Tenants linked to Units. Here is the order I followed.

1. Inventory the base

List every table, field, field type and link. Note formulas, rollups and lookups separately, because these rarely transfer automatically. Note automations and any integrations that write into the base, since they will need rebuilding.

2. Try the built-in import first

Some of these tools can import directly from Airtable using an access token you create in your Airtable account. Run it on a copy and check the result table by table. Direct imports usually do better with links between tables than a CSV route does.

3. If you use CSV, work from the bottom up

CSV exports flatten linked records into text, typically the primary field of the linked record. That is fine as long as primary fields are unique. Import tables with no links first (Properties), then tables that link to them (Units), converting the text column into a link field once both tables exist. Then Tenants and Repairs.

4. Deal with attachments

Attachment URLs in an Airtable export point to Airtable's storage and are not permanent. Download the files during the move and upload them into the new tool, or into your own file storage with a link field. This was the slowest part of the property job, and I would plan time for it.

5. Rebuild formulas and views

Formula syntax differs between tools, and Grist uses Python. Rewrite each formula and compare a handful of results against the old base. Recreate the views people actually use, not every view that exists. On the charity's base, 31 views became 9 and nobody missed the other 22.

6. Rebuild automations

Airtable automations stay in Airtable. Move them to a workflow tool that can talk to your new database through its API or directly. The comparison of n8n and Zapier covers the two I use most, and both can reach a self-hosted tool's API.

7. Run both side by side for a week

Freeze edits in Airtable or keep a short list of changes made during the overlap. Have the two or three heaviest users do their normal work in the new tool and keep notes. Then switch off write access in the old base.

Picking one

Pick NocoDB if you already have a SQL database and want a friendly editing layer on it, or if you want your data in standard tables you can query directly.

Pick Baserow if you want the closest everyday replacement for Airtable and do not have an existing database to wrap.

Pick Grist if your base is mostly calculation, you like the idea of Python formulas, or you value documents that are easy to copy and archive.

Pick Teable if its approach suits you and you are willing to test a younger project thoroughly first.

If what you really need is a backend for an app rather than a shared table, a spreadsheet interface may be the wrong layer entirely. The no-code backend guide and the PocketBase guide cover that side.

Questions people ask

Is NocoDB free?

The project has an open-source edition you can self-host, plus hosted and paid editions. What sits in each edition changes over time, so check the project's own pricing and licence pages before you plan around a feature.

Can my team keep using Airtable forms during the move?

Yes, but every submission during the overlap has to be copied across. It is simpler to swap the form to the new tool on the first day and leave the old one closed.

Will the API work like Airtable's?

No. Each tool has its own API. Any script or integration that talks to Airtable's API needs rewriting against the new one.

Before you commit, export your largest table, import it into two of these tools on their hosted trials, and ask the person who uses it most to do a morning's real work in each. Their notes will tell you more than this table can.

Stacks: No-Code & Low-Code, Automation & Internal Tools

More from this stack