Skip to content
masterclass Buddy

Supabase · Method

storage.getPublicUrl

getPublicUrl builds a URL for a file in a public Supabase Storage bucket. It does not check or change whether the bucket is public.

Last updated

Syntax

supabase.storage.from(id).getPublicUrl(path, options?)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • storage.from
  • storage.download
  • storage.createSignedUrl
  • storage.createSignedUrls
  • storage.updateBucket

Source: JavaScript API Reference | Supabase Docs. Checked 2026-11-03.