HTML DOM cookie property
Document Object
Definition and Usage
The cookie property returns all cookies of all key/value pairs of the current document.
Syntax
document.cookie
Browser support





All major browsers support the cookie property
Example
Example
All cookies associated with the current document:
Cookies related to this document:
Try it »
Document Object