How large is HTML5 session storage?

55,051

According to this site, Firefox’s and Safari’s storage limit is 5MB per domain, Internet Explorer’s limit is 10 MB per domain.

However, according to this site which tests your web browser local storage capabilities, on my machine:

Browser        LocalStorage         SessionStorage
-------        ------------         --------------
Chrome              5M                   5M
Firefox             5M                Unlimited
IE11                5M                   5M

Also, note the handy chart at the bottom of the page.

Share:
55,051
Brian M. Hunt
Author by

Brian M. Hunt

CTO and founder of MinuteBox.

Updated on July 16, 2022

Comments

  • Brian M. Hunt
    Brian M. Hunt almost 2 years

    Although the size of localStorage has been addressed in detail and there is a online test for it, I was wondering what the maximum size of sessionStorage is for the common browsers?

  • Brian M. Hunt
    Brian M. Hunt about 11 years
    Thanks Robert. What about Chrome? Same as Safari? That link is rather dated at 2009. Have the browsers updated this since then?
  • Yinda Yin
    Yinda Yin about 11 years
    According to this, sessionStorage is limited only by available system memory in Chrome. However, see my answer update.
  • fernandosavio
    fernandosavio about 11 years
    Here explains that about Chrome too...
  • Shadi Alnamrouti
    Shadi Alnamrouti over 5 years
    RIP IE: you should remove it