| Cookies | For storing small data for either short term or long term and can be sent with HTTP requests to the server | 4KB per cookie | Configurable, can be made to expire with session or a set expiry time |
| Session storage | To store data that is retained only for the session | 5 MB per domain | Data is cleared when browser tab or window is closed |
| Local storage | For data that has to be retained even after the browser is closed, across sessions | 10 MB per domain | Available until explicitly cleared by the application or user |
| Index DB | | | |