Saved

Press the star next to a tool's name to save it.

All my tools

Cookie Policy Generator

This cookie policy generator writes a cookie policy for your website from the cookies and services you use, with consent and browser-control sections, ready to copy, download or print.

About your website

Which cookies does your site use?

Strictly necessary cookies are always included.

Where are your visitors?

The policy updates as you type and is saved in this browser. Enter your site name and a contact email to see it.

Your answers stay in your browser. Nothing is uploaded.

Your cookie policy

Enter your website name and a contact email to see your cookie policy.

A cookie policy generator writes a clear cookie policy for your website in a few minutes. Enter your site's name, address and contact email, tick the kinds of cookies you use, and list any third-party services such as analytics, video embeds or payments. This cookie policy generator then writes a policy that explains what cookies are, which ones your site sets and why, how long they last, how visitors give or withdraw consent, and how to control cookies in their browser. Copy the text, download it as an HTML page, or save it as a PDF.

A cookie is a small text file that a website stores on a computer or phone. It lets the site recognize the device and remember information about the visitor's preferences or past actions. Cookies make logins, shopping carts and settings work, but they can also be used to link a person's visits together for analytics and advertising. A cookie policy tells visitors honestly which cookies you use and gives them the information they need to decide.

The rules in the UK and EU

The UK Information Commissioner's Office (ICO) summarizes the cookie rules simply: you must tell people the cookies are there, explain what they're doing and why, and get their consent to store a cookie on their device. Consent must be actively and clearly given, by a clear positive action such as ticking a box or clicking a button. You can't rely on a hard-to-find privacy policy, and you can't set non-essential cookies on the homepage before someone has agreed.

There's an exception for cookies that are essential to provide a service the visitor asked for, such as remembering what's in an online basket or keeping online banking secure. The same rules apply to similar technologies that store or read information on a device. Tick the UK or EU option, and the generator adds a section explaining this to your visitors.

Cookies and privacy in the US

Most US states don't have a cookie-specific law, but privacy laws such as California's CCPA give residents rights over their personal information, and advertising cookies can be part of that. The Electronic Frontier Foundation explains that cookies can be misused to link someone's visits, searches and activity together, which is why many visitors appreciate a clear explanation and a choice. Tick the California option to add a short section for California residents.

  1. Enter your site details: name, address, owner and a contact email.
  2. Tick each kind of cookie your site uses. Strictly necessary cookies are always included.
  3. List third-party services that set cookies, such as Google Analytics, YouTube or Stripe.
  4. Say whether you show a consent banner.
  5. Choose where your visitors are, to add the matching sections.
  6. Copy, download or print the finished policy.

Kinds of cookies explained

  • Strictly necessary: needed for the site to work, such as logins, carts and security.
  • Preferences: remember choices like language and region.
  • Analytics: count visitors and show how the site is used.
  • Advertising: show and measure ads, often across different sites.
  • Social media: set by share buttons and embedded posts or videos.

Example

A small bakery's site uses analytics and embeds a YouTube video, and serves visitors in the US and UK. The owner ticks analytics and social media, lists Google Analytics and YouTube, ticks the consent banner box and both visitor locations. The policy lists the cookie types, names the two services, explains that non-essential cookies wait for consent, and adds sections for UK and EU visitors and California residents.

Keep it accurate

A policy is only useful if it matches what your site really does. Check the cookies your site sets with your browser's developer tools or a cookie scanner, update the policy when you add a new service, and link to it from your site's footer and your consent banner.

Make the policy easy to find. Link to it from your site's footer on every page, from your consent banner and from your privacy policy. If you use a banner, its wording should match the policy: if the banner offers analytics and advertising options, the policy should describe both. When you add a new tool that sets cookies, such as a chat widget, a map or a new analytics service, update the policy and, for UK and EU visitors, ask for consent again if your use of cookies has changed.

Keep a note of the date you last reviewed your cookies. The generator puts the date at the top of the policy so visitors can see how current it is.

Common mistakes

  • Setting analytics or ad cookies before consent for UK and EU visitors.
  • Forgetting embedded content. Video and social embeds often set their own cookies.
  • Hiding the policy. Link it clearly from every page.
  • Never updating it. Review it whenever your tools change.

What next

Use this often? Add Cookie Polic to your Home screen.

Frequently asked questions

How does the cookie policy generator work?

You enter your site details and tick the kinds of cookies and services you use. It builds a cookie policy from those choices that you can copy, download or print.

Do I need a cookie policy?

If your site uses cookies, it's good practice to explain them, and in the UK and EU you must tell people about cookies and get consent for non-essential ones.

Which cookies don't need consent?

Cookies that are strictly necessary for a service the visitor asked for, such as a shopping basket or online banking security.

Is a cookie policy the same as a privacy policy?

No. A privacy policy covers all the personal information you collect; a cookie policy focuses on cookies and similar technologies. Many sites have both.

Is this legal advice?

No. It's a starting template. Check it matches your site, and ask a lawyer if you're unsure what applies to you.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Office & Productivity Tools