Logo

    Supabase Helper

    Supabase Helper

    Generate JWT secrets and API keys for Supabase self-hosting

    Note: This tool generates API keys client-side following Supabase's official documentation. Keys are generated based on JWT secrets and never leave your browser.

    JWT Secret
    Enter your JWT secret or generate a new random one. This is used to sign your API keys.

    A secure random string used to sign JWT tokens. Keep this secret safe!

    Anon Key (Public)
    Public API key for client-side usage. Safe to use in browser and mobile apps.

    This key has limited permissions and is used for client-side operations with Row Level Security (RLS).

    Service Role Key (Secret)
    ⚠️ Private API key with full access. Only use server-side. Never expose in client code!

    This key bypasses Row Level Security and has full database access. Use only in secure server environments.

    Usage Information

    JWT Secret

    Set this in your docker-compose.yml as JWT_SECRET

    Anon Key

    Use this key in your frontend applications. Set as ANON_KEY in your client configuration.

    Service Role Key

    Use this key only in backend/server applications. Set as SERVICE_ROLE_KEY in your server environment variables.

    For more information, visit the Supabase Self-Hosting Documentation