Cookie Consent Banner Builder

Make a self-hosted cookie consent banner: categories, accept/reject buttons and script blocking until consent. Live test of every choice. No outside service.

Tool

Was this tool useful?

About this tool

About Cookie Consent Banner Builder

Most cookie banners come from paid platforms that load their own scripts. This builder writes a small banner you host yourself: your text and colours, accept all, reject all and settings buttons, and categories such as analytics and marketing. Scripts you mark with type="text/plain" and data-category do not run until the visitor agrees, and the choice is remembered for the days you set. A live test shows exactly which scripts run after each choice, so you can check it before adding it to your site.

How it works

Scripts marked <script type="text/plain" data-category="analytics"> are copied into real scripts only after consent for that category. Necessary scripts are never blocked.

Example

With analytics and marketing ticked, “Reject all” runs only necessary scripts; “Accept all” also runs the analytics and marketing scripts.

How to use this tool

  1. Write the banner text, choose position, colour and categories.
  2. Click the buttons in the live test and watch which scripts run.
  3. Download or copy the code, put it before </body> and mark your tracking scripts with data-category.

Frequently asked questions

Does this make my site GDPR compliant?

It gives you the technical part – blocking until consent and an easy reject button. Your texts, policy and what you track must also follow the law. This is not legal advice.

Where is the choice stored?

In the visitor’s browser (local storage). Nothing is sent to us or any other company.

Is my data uploaded?

No. Everything runs in your browser and stays on this device.

Does the Cookie Consent Banner Builder store what I check?

No. The Cookie Consent Banner Builder does not store your input. Keys, files and secrets are handled in your browser; website checks only send the address you enter to our server, which loads the public page and forgets it.