This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.


This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The storageQuota property of the Navigator interface of the Quota Management API provides means to query and request storage usage and quota information. You can get a reference to this interface using Navigator.storageQuota.


StorageQuota.supportedTypes Read only
Returns a list of the available storage types. 


Returns a StorageInfo object containting the current data usage and available quota information for the application.
Requests persistent storage for the requesting application and returns a Promise to an instance of StorageInfo. There is no guarantee that the requested space will be granted by the user agent.


Specification Status Comment
Quota Management API
The definition of 'storageQuota' in that specification.
Obsolete Initial definition.

Browser compatibility

BCD tables only load in the browser