Iubenda logo
Start generating


Table of Contents

Cookie Policy Template for Your Website

If your website is using any type of cookies, you’ll need a cookie policy. A cookies policy is a document that informs your users of the cookies you’re using on your website and why you’re using them.

In this short post, we’ll explain how to write a cookie policy, how you can create one, and provide you with a cookie policy template that you can use as a guide.

cookie policy template

What are cookies?

Let’s start from the basics. To understand if you need a cookie policy, you need to know what cookies are first.

Cookies are small data files generally stored on a user’s computer/browser. Every time you go back to a website you’ve already visited, cookies remember your preferences (such as your password or language).

Cookies can have different purposes:

  • Some of them are meant to give you a more enhanced experience of the website you’re visiting. For example, trackers can remember your username and password or the items you’ve added to your cart during online shopping. These are the so-called technical cookies.
  • Others can track your online behavior to give you targeted advice: have you ever looked for something to buy online, and then ads for that same thing would pop up everywhere? Well, that’s because of profiling cookies, or trackers.

If your website uses cookies – even just technical cookies – you’ll need a cookie policy.

❓ Do you know what cookies are you using on your website?

Scan your site and find out now!

While a privacy policy makes legally required disclosures about your data processing activities in general, a cookie policy is a legal document that deals specifically with your use of cookies, as you’ll see in our cookie policy template below.

Having a cookies policy is a legal requirement under various privacy laws, such as the EU’s Cookie Law.

🇪🇺 EU’s Cookie Law

If you’re based in the EU, or you have EU-based users, you’ll need to comply with the ePrivacy Directive (also called Cookie Law).

The Cookie Law requires you to inform users that you’re using cookies on your site and obtain their consent before doing so.

In practice, you’ll need to:

  • show a cookie banner on the user’s first visit;
  • implement a cookie policy that provides further details about your use of cookies; and
  • block non-exempt cookie scripts from running prior to consent.

👉 Learn more about the EU’s ePrivacy Directive

How do you write a cookie policy?

There are some elements that every generic cookie policy has to include:

  • the types of cookies that you’re installing, for example, tracking cookies, advertising, ect.;
  • any third parties that run cookies on your site/app;
  • the purposes for why each category of cookies is used;
  • the details on how users can exercise their legal rights in regard to cookies. For example, how they can manage their preferences or withdraw consent.

Also, consider that your policy should be available in all the languages in which your services are provided.

Can I write my own cookie policy?

Writing a cookie policy yourself may be difficult if you don’t have legal expertise. We always advise you to seek the help of a legal expert, or use a reliable online generator (with clauses written by legal experts), like iubenda!

If you’d still like to try writing your own cookie policy, you’ll need to:

  • include cookie names, types and duration;
  • name the third parties that run cookies (or similar technologies) on your site – this can include things like embedded videos, payment processors, web fonts, and more):
  • say how you handle the data these cookies process, the purpose of the processing, and the user’s rights in regard to this processing.

*Note that if you have users from different regions (e.g. Europe and the US) simultaneously, you’ll need to write sections with the disclosures specific to those regions, otherwise you risk fines and other penalties like lawsuits.

💡 When it comes to figuring out the specific names of the cookies that run on your site, you can use one of the manual methods mentioned here or use our free Site Scanner to get an idea of the services running on your site.

How do I create a cookie policy?

You can create your cookies policy with online generators, like iubenda’s Privacy and Cookie Policy Generator.

iubenda can help you create a comprehensive cookie policy, with clauses written by actual lawyers.

All you need to do is:

  • Scan your website and check what kind of cookies you’re running.
  • Create your documents in a few clicks.
  • Add it to your website.

Cookie policy template

To help you have a better idea of how a cookie policy should look like, here’s a cookie policy template. Just click the button below to open it 👇

Cookie Policy Example
💡 Remember: use this template as a guide, but don’t just copy and paste!

It’s against your best interests as, legally, cookie policies need to be specific to the cookies and scripts running on YOUR site.

Try iubenda’s Privacy and Cookie Policy Generator instead

Creating your cookie policy has never been so easy!

Moreover, our Generator is supported by an international legal team, which takes care of updating your documents when the laws change. So you have just one thing left to do: focus on your business.

Try our Generator risk-free

Create your cookie policy now

Read also

About us


The solution to generate your Privacy Policy. Customizable from 1700+ clauses, available in 9 languages and self-updating