Free generator

Cookie Banner Generator

Create your website's cookie banner: ready-to-copy-and-paste HTML/CSS/JS code, with accept and reject options and a link to your policy, in line with the Data Protection Commission's guidance on cookies and similar technologies.

✓ Adapted to current regulations✓ Free and no sign-up✓ Word · PDF · copy

📖 What is it and why does your website need it? Read the guide →

⚠️ Important notice — please read. This generator provides free guidance templates based on current regulations (the GDPR, the Data Protection Act 2018, the ePrivacy Regulations and consumer law). They do not constitute legal advice and do not guarantee legal compliance for your specific case.

Each owner is solely responsible for reviewing, adapting and verifying that the texts match their actual activity and applicable law, as well as for effectively complying with their legal obligations. For complex cases, consult a legal professional.

DominaInternet (Jordi Espies Garcia), owner of this tool, assumes no liability for the use of the generated texts or for any consequences arising from their use.

Frequently asked questions

FAQ about the cookie banner

Is putting up the banner enough?

The banner manages consent, but you must pair it with your cookie policy and, above all, not load non-technical cookies until the user accepts. The included code makes this easier for you.

Is it valid for the Data Protection Commission?

It includes accept and reject at the same level and blocks cookies until consent, which are the key points of the Data Protection Commission's guidance. Adapt it to your case and review it.

Where do I paste the code?

Right before the closing tag of your website. If you use a CMS, in the footer scripts section.

Want to understand it in depth? Read the cookie banner guide with the legal basis and the most common mistakes.

Other generators you may find useful