Client library for Supabase. Enables authentication, database interactions, storage, real-time features, and edge functions. Provides Apollo GraphQL integration, Compose Auth, and image loading with Coil. Includes various demos and tutorials.
[!IMPORTANT]
Update, October 2026:
We are working towards making supabase-kt official. Your PRs may wait longer than usual until we migrate the namespace and transfer the repository.
Check out this discussion for more information.
supabase-kt
A Kotlin Multiplatform Client for Supabase.
For information about supported Kotlin targets, see the corresponding module README.
Note that the minimum Android SDK version is 26. For lower versions, you need to enable core library desugaring.
Add a Ktor Client Engine to each of your Kotlin targets
You can find a list of available engines here.
If you plan to use the Realtime dependency, make sure to check if the engine supports WebSockets. See the Ktor docs for more information.
supabase-kt only guarantees compatibility with the latest release of each Supabase service, unless a minimum supported version is explicitly listed below.
Older service releases are supported on a best-effort basis, but compatibility is not guaranteed.
If you self-host Supabase, we recommend upgrading your services to their latest releases when upgrading the SDK.
Samples
Multiplatform Applications
Official Samples
Chat Demo(Desktop/Android/iOS/Browser) - A simple chat application using the Auth, Postgrest and Realtime module.
File Upload Demo(Desktop/Android) - A simple bulk file upload application using the Storage module.
Multi-Factor Authentication(Desktop/Android/Browser) - A simple application showcasing Multi-Factor Authentication.
Community Samples
Groceries Store App(Android) - An e-commerce app using Auth, Postgrest and Storage
Supa Sketcher(Android) - An real-time white board app using anonymous sign-ins Auth, Postgrest and Realtime
SupaBuckt(Android/iOS) - A client app to browse buckets and files in a Supabase project