Buckets
Files are organized into buckets. Each bucket card shows its name, when it was last updated, and whether it is Private or Public:- Private (the default): files are only accessible by users with the correct permissions, controlled by row level security policies.
- Public: files are accessible by anyone with the URL.
Public storage buckets are blocked by default on all plans.This prevents users from creating publicly accessible storage buckets. Workspace owners and admins on all plans can disable this in Privacy & security. See Block public storage buckets for details.
Browse and manage files
Open a bucket to browse its contents as folders and files, with each item’s size, type, and last-modified date.- Upload: add one or more files, or drag and drop them into the bucket.
- Create folder: folder names allow letters, numbers, dots, hyphens, and underscores.
- Rename or Delete a file or folder from its row menu. Folders can only be deleted when they are empty, and deleting cannot be undone.
- Download: select one or more items and download them. Multiple files download as a zip archive. Files in private buckets are downloaded through temporary signed links.
Limits
Your app’s storage accepts files up to 2 GB by default. You can raise or lower this limit, up to 5 GB, from More → Storage. At the top of the view, enter a new value under Upload size limit, choose MB or GB, and select Save. The new limit applies immediately. You can also ask Lovable in the project chat to change it, and Lovable asks for your approval first. You need permission to manage the project’s settings to change the limit. Anyone with edit access can see it, and project viewers cannot. A single bucket can carry its own, lower limit on top of this one. Ask Lovable in the project chat to set or change it.Storage settings
In Storage settings you change the upload size limit and pause or remove storage for the project. To open it, go to More → Storage, then select Settings. You need permission to manage the project’s settings to pause or remove storage.FAQ
Why can't I make a bucket public?
Why can't I make a bucket public?
Public buckets are blocked by default on all plans by the workspace setting Block public storage buckets. A workspace owner or admin can turn the block off in Privacy & security. For most apps, keeping buckets private and letting your app serve files through signed URLs is the safer choice.
Does storage stop billing when my project is paused?
Does storage stop billing when my project is paused?
No. Storage usage continues while a project is paused because your files stay in place. To stop storage usage entirely, download your files and remove the database from the project.
Are storage files included in database exports?
Are storage files included in database exports?
No. Database exports cover schema and table data only. Download storage files separately from the Storage view before migrating or removing the built-in backend.
How do I change a bucket's settings after I create it?
How do I change a bucket's settings after I create it?
Ask Lovable in the project chat. The Storage page cannot edit an existing bucket, so Lovable changes whether a bucket is public or private and its per-bucket file size limit for you. Lovable cannot restrict which file types a bucket accepts.The project-wide upload size limit is different: you change that one yourself under More → Storage, and a lower per-bucket limit still applies. No view shows a bucket’s own limit, so ask Lovable to read it back to you.To undo any of these, set the earlier value again. Reverting your app’s code does not change storage settings back.
How do I roll back a change to my storage policies?
How do I roll back a change to my storage policies?
Ask Lovable to apply a new migration that sets the earlier policy again. Lovable changes storage access policies through database migrations, so reverting your app’s code leaves the policies as they are.
Can a private file stay reachable after I remove access?
Can a private file stay reachable after I remove access?
It can. Links copied from the Storage page expire within an hour, but if your app creates its own signed links, your app’s code decides how long those stay valid. Anyone with the URL can open a file in a public bucket.Removing access does not remove copies people already downloaded, and Lovable cannot promise immediate removal from every cache. Contact support if a file has to stop being reachable.
Is a deleted file erased immediately?
Is a deleted file erased immediately?
Lovable sends the deletion to the storage service when you delete a file, but does not guarantee that the file is erased from disk at that moment.Contact support about older versions of a file, copies in backups, or uploads that were still in progress.