tl;dr Chrome 61, with more browsers to follow, now exposes an estimate of how much storage a web app is using and how much is available via: if ('storage' in navigator && 'estimate' in navigator.storage) { navigator.storage.estimate().then(({usage, quota}) => { console.log(`Using ${usage} out of ${quota} bytes.`); }); } Modern web apps and data storage When you think about the storage needs of a m