Free Supabase security check

See which tables have Row Level Security off.

Connect with a read-only role. dbdiagramr reads RLS flags and policy counts for your public schema, draws it, and marks every table. No signup, no storage.

Public schema only today. RLS off is a risk signal, not proof that data is public — check grants too.

RLS2 off1 no policies3 on, has policies

Example schema. Hover a table to see its RLS status. Live connections show your real flags.

What the badges mean

RLS off

The table has no Row Level Security. Check grants and API exposure.

RLS on, no policies

Non-owners are denied by default. Confirm that is intentional.

RLS on, has policies

At least one policy exists. Review that it is restrictive; USING (true) still exposes the table.

RLS unknown

Pasted SQL cannot show RLS. Connect live to read the flags.

Run it with a read-only role

Metadata lives in PostgreSQL system catalogs, so the role only needs CONNECT and USAGE. It does not need SELECT on your tables.

CREATE ROLE dbdiagramr_reader LOGIN PASSWORD '...';
GRANT CONNECT ON DATABASE your_db TO dbdiagramr_reader;
GRANT USAGE ON SCHEMA public TO dbdiagramr_reader;

Use the Session pooler (5432) or Transaction pooler (6543) connection string from Supabase → Connect. Compare all four Supabase modes.

What we read

  • · Table and column names, types, keys and foreign keys.
  • · The RLS flag and the number of policies per table.
  • · Never row data, policy expressions or secrets.
  • · The connection string is used once, then discarded.
  • · TLS certificates are always verified.

Prefer to keep everything in the browser? Paste SQL into the schema analyzer. It cannot see RLS, but it catches missing keys and unindexed foreign keys.

Questions

Check your schema in 10 seconds.

See every table, its foreign keys, and whether RLS is on. Free, no account, nothing stored.

Run the RLS check