I'm interested in HTML5's localStorage feature which surprisingly doesn't appear to be all that well documented.

I found this excellent StackOverflow answer about the size limits of localStorage per browser. In that answer, the user states:

...the size of this storage area can be customized by the user (so a 5MB storage area is not guaranteed, nor is it implied) and the user agent.

So I became curious: how could I tweak localStorage settings on my browser (Chrome)? Well I looked high and low. I Googled, Yahooed and Binged. And for the life of me I can't find where localStorage can be configured inside Chrome 38.x.

And although I'm specifically interested in Chrome 38.x, I'll happily welcome any answers that show how to do this from any modern-ish browser.

1 Answer 1


I think that the answer you are quoting, is missing some key wording, which is

if the agent allows it, the size of this storage area can be customized...

There is some good research on this topic here: Working with quota on mobile browsers

It appears that Chrome doesn't have UI to customize the size of your storage, but there is working being done on an API to request additional storage.

  • 1
    Thanks @heavyd (+1) - interesting link for the Quota Management API... would this be an HTML5/JavaScript API? Thanks again!
    – smeeb
    Nov 5, 2014 at 17:16
  • Three years later, there must be some more useful answer to that. I tried to use that API and it returns some misleading info: “we are using 0 of 14.85 gigabytes” for webkitTemporaryStorage and “0 gigabytes” for webkitPersistentStorageage. My code (try in browser console): navigator.webkitTemporaryStorage.queryUsageAndQuota((used, granted) => console.log('we are using', used, 'of', granted/1024/1024/1024, 'gigabytes'), e => console.log('Error', e));
    – 7vujy0f0hy
    Nov 21, 2017 at 16:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .