localstorage.getitem(key value) javascript code example Example: javascript get local storage var Item = localStorage.getItem('youritem');