The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
<svg xmlns="http://www.w3.org/2000/svg" width="361" height="210" fill="none" viewBox="0 0 361 210"><mask id="a" width="60" height="60" x="87" y="38" maskUnits="userSpaceOnUse" style="mask-type:alpha"><rect width="58.406" height="58.406" x="87.963" y="38.464" fill="#d9d9d9" stroke="#232323" stroke-width=".927" rx="29.203"/></mask><g mask="url(#a)"><path fill="#a0a0a0" stroke="#3fcf8e" stroke-width=".927" d="M76.838 27.338h80.656v112.176H76.838z"/><path fill="#7e7e7e" d="M102.855 70.165c0 2.468 1.633 4.101 4.119 4.101 2.45 0 4.101-1.881 4.101-4.154v-8.7h-2.45v8.7c0 1.1-.639 1.829-1.669 1.829-.994 0-1.722-.586-1.74-1.882v-1.154l-2.361.426zm22.771-.053-2.805-8.7h-2.538l-2.788 8.665-2.308-8.664h-2.592L116.093 74h2.556l2.876-8.965L124.401 74h2.521l3.48-12.587h-2.503z"/></g><rect width="20.396" height="20.396" x="129.219" y="79.718" fill="#3fcf8e" stroke="#f1f3f5" stroke-width="5.562" rx="10.198"/><path fill="#202425" d="M162.112 61.154c0 1.938 1.283 3.222 3.236 3.222 1.924 0 3.221-1.479 3.221-3.264v-6.834h-1.924v6.834c0 .865-.502 1.437-1.311 1.437-.781 0-1.353-.46-1.367-1.479v-.906l-1.855.334zm10.329 3.012v-6.861h-1.855v6.861zm-2.078-9.107c0 .614.516 1.13 1.144 1.13.641 0 1.144-.516 1.144-1.13 0-.641-.503-1.157-1.144-1.157-.628 0-1.144.516-1.144 1.157m5.919 9.107V60.15c0-.753.474-1.353 1.283-1.353.837 0 1.214.558 1.214 1.297v4.072h1.84V60.15c0-.74.475-1.353 1.27-1.353.85 0 1.213.558 1.213 1.297v4.072h1.799v-4.449c0-1.84-1.213-2.608-2.482-2.608-.907 0-1.632.307-2.176 1.144-.349-.74-1.102-1.144-2.036-1.144-.753 0-1.632.363-2.009 1.032v-.836h-1.771v6.861zm23.358-3.054-2.204-6.834h-1.994l-2.19 6.806-1.813-6.806h-2.036l2.748 9.888h2.008l2.259-7.043 2.26 7.043h1.98l2.734-9.888h-1.967zm6.769-.976c.042-.753.502-1.34 1.283-1.34.893 0 1.269.6 1.269 1.368v4.002h1.855v-4.323c0-1.506-.809-2.72-2.552-2.72-.656 0-1.409.224-1.855.754v-3.808h-1.855v10.097h1.855zm7.642-.181c.042-.628.572-1.353 1.535-1.353 1.059 0 1.506.67 1.534 1.353zm3.25 1.785c-.223.613-.697 1.046-1.562 1.046-.921 0-1.688-.656-1.729-1.562h4.909c0-.028.028-.307.028-.572 0-2.204-1.269-3.556-3.389-3.556-1.758 0-3.375 1.422-3.375 3.612 0 2.315 1.659 3.668 3.542 3.668 1.688 0 2.775-.99 3.124-2.176zm4.961 2.426V54.07h-1.855v10.097zm1.527-1.868c0 1.073.892 2.064 2.357 2.064 1.018 0 1.673-.474 2.022-1.018 0 .264.028.641.07.822h1.701a8 8 0 0 1-.083-1.087v-3.376c0-1.38-.809-2.608-2.985-2.608-1.841 0-2.831 1.186-2.943 2.26l1.646.349c.056-.6.502-1.116 1.311-1.116.781 0 1.158.404 1.158.892 0 .237-.126.433-.516.489l-1.688.25c-1.144.168-2.05.851-2.05 2.078m2.747.683c-.599 0-.892-.39-.892-.795 0-.53.376-.795.85-.865l1.549-.237v.307c0 1.213-.726 1.59-1.507 1.59m7.044-2.762c0-.794.474-1.422 1.283-1.422.893 0 1.269.6 1.269 1.367v4.002h1.855v-4.323c0-1.506-.781-2.72-2.482-2.72-.739 0-1.562.321-1.981 1.032v-.85h-1.799v6.861h1.855z"/><path fill="#3fcf8e" d="M166.505 81.376c2.008 0 3.556-1.256 3.556-3.585v-6.513h-1.366v6.471c0 1.507-.795 2.357-2.19 2.357-1.381 0-2.203-.85-2.203-2.356v-6.472h-1.353v6.513c0 2.33 1.548 3.585 3.556 3.585m5.159-1.953c.112.767.893 1.953 2.734 1.953 1.659 0 2.454-1.13 2.454-2.079 0-.99-.641-1.729-1.855-1.994l-1.087-.237c-.516-.112-.767-.404-.767-.809 0-.46.446-.892 1.115-.892 1.06 0 1.339.767 1.395 1.115l1.158-.432c-.14-.6-.712-1.8-2.553-1.8-1.311 0-2.385.977-2.385 2.12 0 .95.628 1.66 1.674 1.883l1.144.252c.558.125.864.446.864.864 0 .474-.404.893-1.143.893-.949 0-1.479-.558-1.562-1.255zm7.716-2.301c.056-.865.726-1.716 1.827-1.716 1.186 0 1.813.754 1.841 1.716zm3.864 1.743c-.251.753-.795 1.353-1.883 1.353-1.13 0-1.995-.837-2.022-2.036h5.048c.014-.084.028-.251.028-.419 0-2.092-1.157-3.514-3.222-3.514-1.687 0-3.207 1.436-3.207 3.542 0 2.274 1.576 3.585 3.375 3.585 1.562 0 2.636-.935 3.012-2.12zm6.568-4.477a2.5 2.5 0 0 0-.432-.041c-.683 0-1.52.25-2.008 1.283v-1.172h-1.283v6.708h1.311v-3.36c0-1.48.739-2.065 1.841-2.065.181 0 .376.014.571.042zm7.757 5.816c-1.115 0-2.092-.837-2.092-2.399 0-1.548.977-2.385 2.092-2.385s2.092.837 2.092 2.385c0 1.562-.976 2.4-2.092 2.4m0-5.955c-2.008 0-3.431 1.52-3.431 3.556 0 2.05 1.423 3.57 3.431 3.57s3.431-1.52 3.431-3.57c0-2.036-1.422-3.556-3.431-3.556m6.419 3.04c0-1.018.53-1.84 1.562-1.84 1.172 0 1.562.752 1.562 1.687v4.03h1.311v-4.253c0-1.493-.795-2.65-2.398-2.65-.781 0-1.576.32-2.064 1.157v-.962h-1.284v6.708h1.311zm7.832 3.877V71.07h-1.311v10.097zm3.527 0v-6.708h-1.297v6.708zm-1.59-9.246c0 .516.418.934.934.934a.941.941 0 1 0 0-1.883.937.937 0 0 0-.934.949m5.131 5.37c0-1.019.53-1.842 1.562-1.842 1.172 0 1.562.753 1.562 1.688v4.03h1.311v-4.253c0-1.493-.795-2.65-2.398-2.65-.781 0-1.576.32-2.065 1.157v-.962h-1.283v6.708h1.311zm7.371-.168c.056-.865.726-1.716 1.827-1.716 1.186 0 1.814.754 1.841 1.716zm3.864 1.743c-.251.753-.795 1.353-1.883 1.353-1.13 0-1.994-.837-2.022-2.036h5.048c.014-.084.028-.251.028-.419 0-2.092-1.157-3.514-3.221-3.514-1.688 0-3.208 1.436-3.208 3.542 0 2.274 1.576 3.585 3.375 3.585 1.562 0 2.636-.935 3.012-2.12z"/><mask id="b" width="60" height="61" x="87" y="112" maskUnits="userSpaceOnUse" style="mask-type:alpha"><rect width="58.406" height="58.406" x="87.963" y="113.274" fill="#d9d9d9" stroke="#232323" stroke-width=".927" rx="29.203"/></mask><g mask="url(#b)"><path fill="#7e7e7e" stroke="#3fcf8e" stroke-width=".927" d="M76.838 102.149h80.656v112.176H76.838z"/><path fill="#a0a0a0" d="M115.092 148.352h2.663l-4.794-12.587h-2.84l-4.829 12.587h2.592l1.047-2.876h5.113zm-3.604-9.871 1.74 4.758h-3.48zm15.759 9.871v-2.308h-5.432v-2.911h4.917v-2.184h-4.917v-2.876h5.432v-2.308h-7.882v12.587z"/></g><circle cx="117.166" cy="142.477" r="32.448" stroke="#f1f3f5" stroke-width="5.562"/><path fill="#202425" d="M169.671 138.977h2.092l-3.766-9.888h-2.231l-3.794 9.888h2.037l.823-2.259h4.016zm-2.831-7.754 1.367 3.738h-2.734zm7.876 3.807c0-.795.474-1.422 1.283-1.422.893 0 1.269.6 1.269 1.367v4.002h1.855v-4.323c0-1.506-.781-2.72-2.483-2.72-.739 0-1.562.321-1.98 1.032v-.85h-1.799v6.861h1.855zm8.144 0c0-.795.475-1.422 1.284-1.422.892 0 1.269.6 1.269 1.367v4.002h1.855v-4.323c0-1.506-.781-2.72-2.483-2.72-.739 0-1.562.321-1.98 1.032v-.85h-1.799v6.861h1.854zm5.872 2.078c0 1.074.892 2.065 2.357 2.065 1.018 0 1.673-.475 2.022-1.019 0 .265.028.642.07.823h1.701a8 8 0 0 1-.084-1.088v-3.375c0-1.38-.808-2.608-2.984-2.608-1.841 0-2.831 1.186-2.943 2.26l1.646.348c.056-.599.502-1.115 1.311-1.115.781 0 1.157.404 1.157.892 0 .237-.125.433-.516.488l-1.687.251c-1.144.168-2.05.851-2.05 2.078m2.747.684c-.6 0-.892-.391-.892-.795 0-.53.376-.795.85-.865l1.548-.237v.307c0 1.213-.725 1.59-1.506 1.59m14.967 1.185v-1.813h-4.268v-2.287h3.863v-1.715h-3.863v-2.26h4.268v-1.813h-6.193v9.888zm1.285-1.869c0 1.074.893 2.065 2.357 2.065 1.018 0 1.674-.475 2.022-1.019 0 .265.028.642.07.823h1.702a8 8 0 0 1-.084-1.088v-3.375c0-1.38-.809-2.608-2.985-2.608-1.841 0-2.831 1.186-2.942 2.26l1.645.348c.056-.599.502-1.115 1.311-1.115.781 0 1.158.404 1.158.892 0 .237-.126.433-.516.488l-1.688.251c-1.143.168-2.05.851-2.05 2.078m2.748.684c-.6 0-.893-.391-.893-.795 0-.53.377-.795.851-.865l1.548-.237v.307c0 1.213-.725 1.59-1.506 1.59m4.603-.725c.084.781.795 2.119 2.859 2.119 1.799 0 2.664-1.143 2.664-2.259 0-1.004-.684-1.827-2.036-2.106l-.977-.209c-.376-.07-.627-.279-.627-.614 0-.39.39-.683.878-.683.781 0 1.074.516 1.13.92l1.548-.348c-.084-.739-.739-1.981-2.692-1.981-1.478 0-2.566 1.018-2.566 2.246 0 .962.6 1.757 1.925 2.05l.906.209c.53.112.74.363.74.67 0 .362-.293.683-.907.683-.809 0-1.213-.502-1.255-1.046zm9.301-7.002h-1.673v.963c0 .613-.335 1.088-1.06 1.088h-.349v1.645h1.241v3.194c0 1.325.837 2.12 2.176 2.12.544 0 .879-.098 1.046-.167v-1.535a2.7 2.7 0 0 1-.572.056c-.53 0-.809-.195-.809-.795v-2.873h1.381v-1.645h-1.381zm6.861 2.051-1.492 4.407-1.269-4.407h-1.952l2.189 6.861h1.883l1.576-4.686 1.604 4.686h1.855l2.147-6.861h-1.841l-1.269 4.421-1.478-4.421zm10.605 5.383c-.907 0-1.743-.669-1.743-1.953 0-1.297.836-1.952 1.743-1.952.906 0 1.743.655 1.743 1.952s-.837 1.953-1.743 1.953m0-5.593c-2.05 0-3.598 1.521-3.598 3.64 0 2.106 1.548 3.64 3.598 3.64s3.598-1.534 3.598-3.64c0-2.119-1.548-3.64-3.598-3.64m8.144 5.593c-.906 0-1.743-.669-1.743-1.953 0-1.297.837-1.952 1.743-1.952s1.744.655 1.744 1.952-.837 1.953-1.744 1.953m0-5.593c-2.05 0-3.598 1.521-3.598 3.64 0 2.106 1.548 3.64 3.598 3.64 2.051 0 3.599-1.534 3.599-3.64 0-2.119-1.548-3.64-3.599-3.64m11.604-3.026h-1.827v3.919c-.195-.363-.753-.851-1.939-.851-1.938 0-3.291 1.576-3.291 3.584 0 2.079 1.395 3.613 3.347 3.613.921 0 1.618-.419 1.925-.963 0 .321.041.656.069.795h1.772a14 14 0 0 1-.056-1.241zm-5.188 6.652c0-1.227.753-1.924 1.701-1.924s1.688.683 1.688 1.911c0 1.241-.739 1.966-1.688 1.966-.976 0-1.701-.725-1.701-1.953"/><path fill="#7e7e7e" d="M169.936 155.977h1.478l-3.933-9.888h-1.576l-3.933 9.888h1.465l1.046-2.761h4.379zm-3.277-8.465 1.715 4.435h-3.403zm8.695 2.761c1.144 0 1.632.767 1.799 1.423l1.186-.502c-.279-1.018-1.2-2.134-2.985-2.134-1.91 0-3.375 1.464-3.375 3.556 0 2.036 1.437 3.57 3.389 3.57 1.743 0 2.706-1.129 3.027-2.091l-1.158-.503c-.153.53-.614 1.381-1.869 1.381-1.088 0-2.05-.823-2.05-2.357 0-1.562.976-2.343 2.036-2.343m6.336-3.124h-1.2v1.088c0 .586-.306 1.032-1.032 1.032h-.362v1.185h1.283v3.682c0 1.214.725 1.911 1.869 1.911.446 0 .781-.084.892-.125v-1.116a2.6 2.6 0 0 1-.516.056c-.683 0-.934-.307-.934-.921v-3.487h1.45v-1.185h-1.45zm4.497 8.828v-6.708h-1.297v6.708zm-1.59-9.246c0 .516.419.934.935.934.53 0 .948-.418.948-.934a.94.94 0 1 0-1.883 0m9.567 2.538h-1.409l-1.925 5.174-1.91-5.174h-1.479l2.72 6.708h1.325zm1.901 2.664c.055-.865.725-1.716 1.827-1.716 1.185 0 1.813.753 1.841 1.716zm3.863 1.743c-.251.753-.795 1.353-1.883 1.353-1.13 0-1.994-.837-2.022-2.036h5.048c.014-.084.028-.251.028-.419 0-2.092-1.157-3.514-3.221-3.514-1.688 0-3.208 1.436-3.208 3.542 0 2.274 1.576 3.584 3.375 3.584 1.562 0 2.636-.934 3.012-2.119zm5.704-.153c.125 1.422 1.422 2.677 3.347 2.677 2.008 0 3.319-1.38 3.319-3.082 0-1.869-1.297-2.998-3.068-2.998-.711 0-1.436.223-1.841.669l.67-2.594h3.863v-1.255h-4.77l-1.172 4.491c.461.167.865.348 1.339.53.391-.405 1.004-.656 1.646-.656 1.046 0 1.953.628 1.953 1.869 0 1.116-.865 1.827-1.939 1.827-1.13 0-1.953-.753-2.036-1.869zm13.052 2.454v-4.044c0-1.004.627-1.702 1.562-1.702 1.004 0 1.422.67 1.422 1.534v4.212h1.311v-4.058c0-.962.628-1.688 1.548-1.688.991 0 1.423.656 1.423 1.534v4.212h1.297v-4.351c0-1.757-1.144-2.552-2.315-2.552-.851 0-1.716.307-2.246 1.269-.362-.865-1.171-1.269-2.008-1.269-.781 0-1.618.348-2.036 1.088v-.893h-1.255v6.708zm11.958 0v-6.708h-1.297v6.708zm-1.59-9.246c0 .516.418.934.934.934a.942.942 0 1 0-.934-.934m5.131 5.369c0-1.018.53-1.841 1.562-1.841 1.172 0 1.562.753 1.562 1.688v4.03h1.311v-4.253c0-1.493-.795-2.65-2.399-2.65-.781 0-1.575.321-2.064 1.157v-.962h-1.283v6.708h1.311zm5.893 2.134c.112.767.893 1.952 2.734 1.952 1.659 0 2.454-1.129 2.454-2.078 0-.99-.641-1.729-1.855-1.994l-1.088-.237c-.516-.112-.767-.404-.767-.809 0-.46.447-.892 1.116-.892 1.06 0 1.339.767 1.395 1.115l1.157-.432c-.139-.6-.711-1.799-2.552-1.799-1.311 0-2.385.976-2.385 2.12 0 .948.628 1.659 1.674 1.882l1.143.251c.558.126.865.447.865.865 0 .474-.404.893-1.143.893-.949 0-1.479-.558-1.562-1.255zm10.002-.056c0 1.06.878 2.008 2.245 2.008 1.2 0 1.869-.641 2.162-1.115 0 .488.042.739.07.906h1.283a6.3 6.3 0 0 1-.084-1.101v-3.362c0-1.311-.781-2.454-2.789-2.454-1.451 0-2.608.892-2.748 2.175l1.255.293c.084-.781.6-1.352 1.521-1.352 1.018 0 1.45.543 1.45 1.199 0 .237-.111.446-.516.502l-1.813.265c-1.158.167-2.036.837-2.036 2.036m2.427.907c-.67 0-1.088-.474-1.088-.977 0-.599.418-.92.976-1.004l2.05-.307v.307c0 1.465-.865 1.981-1.938 1.981m4.803 1.255c.168 1.436 1.423 2.496 3.096 2.496 2.525 0 3.362-1.659 3.362-3.361v-6.206h-1.298v.934c-.334-.669-1.032-1.06-2.064-1.06-1.841 0-3.082 1.451-3.082 3.264 0 1.897 1.297 3.25 3.082 3.25 1.005 0 1.73-.489 2.051-1.102v.962c0 1.451-.642 2.176-2.051 2.176-1.018 0-1.729-.712-1.827-1.646zm3.292-1.785c-1.186 0-1.939-.837-1.939-2.148 0-1.297.781-2.148 1.939-2.148 1.129 0 1.91.851 1.91 2.148s-.781 2.148-1.91 2.148m8.132.46c-1.115 0-2.092-.837-2.092-2.399 0-1.548.977-2.385 2.092-2.385s2.092.837 2.092 2.385c0 1.562-.976 2.399-2.092 2.399m0-5.955c-2.008 0-3.431 1.52-3.431 3.556 0 2.05 1.423 3.57 3.431 3.57s3.431-1.52 3.431-3.57c0-2.036-1.422-3.556-3.431-3.556"/></svg>