Home
/
Tools
/
Cookie Banner Generator

Create a cookie banner without a subscription or an account.

Choose the languages (German, French, English), categories and colours and copy the finished code. Accept and reject carry equal weight, every category stays off until consent, and the banner can report Google Consent Mode v2 if you want it.

Free. No signup. Runs in your browser, what you enter is not stored.

cookie-banner-generator

This is a template, not legal advice. The banner only holds back scripts you mark as described. Whether and how you must collect consent depends on your services and your visitors.

How the generator works

CHOICES

Your categories and services

You pick languages, analytics and marketing, name the services and the cookies to delete if a visitor declines. You set text, colour, position and theme, and the preview shows the result.

CODE

One block for the head

The generator writes the finished code with banner, settings window and, if you want it, Google Consent Mode v2. You copy it with one click.

SETUP

Mark scripts and test

Paste the code under Custom Code in Webflow. Then mark every analytics or marketing script as in the example, publish, and test in a private window.

Questions about the cookie banner generator

Does my website need a cookie banner at all?

That depends on your services and your visitors. If only necessary cookies run, a note in the privacy policy is often enough. For analytics and marketing many sites collect consent, especially from visitors in the EU. If in doubt, ask a professional.

Is the banner enough on its own?

No. The banner asks and remembers the answer. You must also mark every analytics or marketing script with type="text/plain" and data-category, otherwise it starts before consent. An example sits next to the code.

What does Google Consent Mode v2 do?

The banner tells Google services what the visitor allowed. Until they agree, everything is set to denied. That lets Google Analytics respect the choice.

Where does the banner code come from?

From the open-source library vanilla-cookieconsent under the MIT license. The generator only produces the settings. The files load from jsDelivr here. If you want more privacy, download them and host them yourself.

Is what I enter stored?

No. The generator runs entirely in your browser. Nothing is transmitted.

Fifteen minutes. No presentation.

Tell us where your customers come from today. We'll tell you which of the three places you're losing the most – and whether working with us makes sense, or whether you can fix it yourself this week.

We only take on a limited number of projects at a time. If we're fully booked, we'll tell you on the call.

DURATION
15 minutes, by video or phone
WHAT YOU TAKE AWAY
The one place you should fix first
EMAIL
hello@thrivedigital.ch
WHERE WE ARE
Ahornweg 5, 3123 Belp