Cookie Policy Generator

Write a cookie policy that explains necessary, analytics and advertising cookies.

100% freeNo sign-upInstant results

How to use the Cookie Policy Generator

  1. 1Enter your website details and contact email.
  2. 2Select the cookie categories your site uses and whether you show a consent banner.
  3. 3Copy or download the policy, publish it and link it from your cookie banner, footer and privacy policy.

About the Cookie Policy Generator

A cookie policy explains what cookies are, which kinds your website uses, why it uses them and how visitors can control them. In the European Union and the United Kingdom, visitors must get clear information about non-essential cookies — and usually give consent — before those cookies are set.

This generator writes a cookie policy grouped into the categories most consent banners use: strictly necessary, preferences, analytics and advertising. It adds instructions for managing cookies in Chrome, Firefox, Safari and Edge, and a consent paragraph if you use a cookie banner. Everything runs in your browser. Review the result against the cookies your site actually sets before publishing.

When to use the Cookie Policy Generator

Explaining cookies set by analytics tools

Analytics tools usually set cookies to recognize returning visitors and measure page views. Turn on Analytics so the policy explains what these cookies do and how visitors can control them. Combine the cookie policy with a consent banner where the law requires prior consent, such as for visitors in the EEA and UK.

Running ads or remarketing campaigns

Advertising and remarketing cookies build interest profiles and track visitors across websites, which privacy laws treat as especially sensitive. Switch on Advertising so the policy describes these cookies clearly. Make sure your consent tool blocks them until a visitor agrees, and that the policy matches the categories shown in your banner.

Documenting a site that uses only essential cookies

Some websites set only strictly necessary cookies, for example to keep a shopping cart or a login working. Turn off the optional categories to produce a short, honest policy that says so. Revisit the page whenever you add a new plugin, embed or tracking script, since many of them set cookies automatically.

Tips and best practices

  • Audit your site before writing: open your browser's developer tools, check which cookies appear on a fresh visit and note which script sets each one.
  • Keep the categories in your cookie policy identical to those in your consent banner so visitors see the same choices in both places.
  • Embedded videos, maps and social buttons often set third-party cookies. Include them in the policy or load them only after consent.
  • Link the cookie policy from your consent banner, your footer and your privacy policy so visitors can reach it from wherever they make choices.

Frequently asked questions

Open your site in a private browser window, open the developer tools and look at the cookies listed under Application or Storage. Note which script or service sets each one, then match them to the categories in the generator.

No. The policy explains your cookies; a consent banner asks for permission before optional cookies are set. Where consent is required, you need both.

No. This tool runs entirely in your browser using JavaScript. Your input never leaves your device, which makes it safe for confidential content.

Not always as a separate page, but it is common practice. A privacy policy may cover cookies briefly, while a dedicated cookie policy explains each category in more detail and links to consent settings. In the EEA and UK, laws such as the ePrivacy rules expect clear information about cookies before they are set.

No. The banner is the notice that asks visitors for consent and lets them choose categories. The cookie policy is the page that explains in detail which cookies you use and why. Most sites that need consent use both, with the banner linking to the policy.

Under European rules, cookies that are strictly necessary to provide a service the visitor asked for, such as a shopping cart or login session, generally do not need consent. Analytics, advertising and most preference cookies usually do. Rules differ between countries, so check the guidance in the places you serve.

Related tools