DEV Community


Discussion on: Cookies vs Local Storage

pragativerma18 profile image
Pragati Verma Author

Hey, Johann. localStorage capacity varies by browser, with 2.5MB, 5MB, and unlimited being the most common values. Google Chrome, Mozilla Firefox, and Opera provide 10MB per origin. You can also customize the storage size.

You can use this test to check for the storage size in your browser.

Hope this helps. If you have any other doubts, let me know.

johann_lr profile image

Thanks for the answer!