Cookie Policy Generator
List the cookies your site uses or paste their names to match common ones, choose where your visitors are, and get an editable cookie policy with a cookie table.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Describe the site
In Website and laws enter the site name, address, owner, contact and consent tool, and tick visitor regions.
- 2List cookies
In Cookie list add each cookie with provider, category, purpose, duration and type, or add common ones from the menu.
- 3Find unknown cookies
In Find my cookies paste cookie names from your browser and add the matches.
- 4Review the policy
Read the generated policy and edit wording with Edit text.
- 5Export
Download HTML or Markdown for your site, or Word and text for review.
- 6Keep it updated
Update the cookie list and date whenever you add or remove a tool.
About this tool
Most websites set cookies, from a session cookie that keeps a cart to analytics and advertising pixels from Google or Meta. Privacy laws in Europe, the UK and elsewhere expect sites to explain them clearly: what each cookie does, who sets it, how long it lasts, and how visitors can accept or refuse. This generator builds that explanation from your own cookie list. You enter the website, owner and privacy contact, tick where your visitors come from, and list cookies by name, provider, category, purpose, duration and first- or third-party. Common cookies such as Google Analytics, Google Ads, Meta Pixel, Hotjar, Stripe and Cloudflare can be added from a list, or you paste the cookie names copied from your browser and the tool recognises the familiar ones. The policy includes a full cookie table and region-specific sections, and exports as HTML for your site, Markdown, Word or plain text.
What the law expects
In the EU, article 5(3) of the ePrivacy Directive requires consent before storing or reading information on a visitor's device unless it is strictly necessary for a service the visitor asked for. The UK's Privacy and Electronic Communications Regulations (PECR) say the same, and the UK Information Commissioner's Office expects clear information about each cookie and consent that is as easy to refuse or withdraw as to give. Where cookies involve personal data, the GDPR or UK GDPR also applies. In California, the CCPA as amended by the CPRA gives residents rights to know, delete and correct personal information and to opt out of its sale or sharing for cross-context behavioural advertising. Brazil's LGPD adds similar rights. The generator adds a section for each region you tick.
Categories
Cookies are grouped as strictly necessary (security, sessions, remembering consent), preferences (language, region), analytics and performance, and marketing and advertising. Only the first group can be set without consent under EU and UK rules. The policy explains each category you use and lists every cookie in a table with name, provider, category, purpose, duration and whether it is first- or third-party.
Finding your cookies
The Find my cookies tab explains how to open your own site in a private window, accept everything, and copy cookie names from the browser's developer tools or from document.cookie. Pasting them here matches names against common cookies, including those with variable suffixes such as _ga_ followed by a property ID, and adds them to the list. Unrecognised names are added for you to describe. Only names are needed: cookie values can work like passwords and should not be shared.
Keeping it current
Durations and purposes of third-party cookies change when providers update their products, so review the list whenever you add a plugin, analytics tool or advertising tag, and update the date at the top. The policy should match what your consent banner actually does.
Worked example
A small online shop with EU and UK visitors lists a consent cookie and PHPSESSID as strictly necessary, Google Analytics _ga and _ga_ID as analytics, and Meta's _fbp as marketing. The policy explains each category, includes the five-row table, states that non-essential cookies are set only after consent under the ePrivacy Directive and PECR, and gives the privacy email.
Limits
This is a template generator, not legal advice or a compliance audit. It does not scan your site, configure a consent banner or block cookies before consent, which your website must do itself. Have the result reviewed by a qualified adviser if your site processes significant personal data or targets several jurisdictions.
Worked example
Shop with EU and UK visitors: consent cookie, PHPSESSID, _ga, _ga_ID and _fbp in a 5-row table, with ePrivacy and PECR consent wording.
Quick facts
- Category: Legal & Government
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ePrivacy Directive article 5(3), UK PECR regulation 6 and ICO cookie guidance; California Consumer Privacy Act as amended by the CPRA
Frequently asked questions
Do I need a cookie policy?
If your site sets cookies or similar technologies and has visitors from the EU or UK, you must give clear information about them and get consent for non-essential ones. Other laws such as the CCPA add their own duties.
What is the difference between a cookie policy and a cookie banner?
The banner collects consent on the page; the policy explains in detail what each cookie does. You usually need both, and they must match.
Which cookies need consent?
Under EU and UK rules, all except strictly necessary ones, such as security, session and consent cookies. Analytics and advertising cookies need prior consent.
How do I find out which cookies my site uses?
Open your site in a private window, accept all cookies, then look in your browser's developer tools under Application or Storage, or paste document.cookie into the Find my cookies tab.
Can I put the policy on my website?
Yes. Download HTML or Markdown and paste it into your site, and link to it from your banner and footer.
Is the generated policy legally compliant?
It is a starting template based on your answers. It is not legal advice and does not make a site compliant on its own; ask a qualified adviser if in doubt.
