10 Best Free GDPR Cookie Consent Banner Plugins In JavaScript

by jQueryScript,

What Is GDPR Cookie Consent Banner

When users first visit your site, the GDPR Cookie Consent Banner displays a prominent banner informing them of how your site uses cookies and enabling them to choose which external services (like ads, site statistics, etc) to allow to be injected into the site to protect user data and privacy.

Do I Need A Cookie Consent Banner On My Site?

Every website that collects user data should have a GDPR cookie consent banner, unless you don't have visitors from Europe (which is absolutely impossible). See below for more details:

The Best GDPR Cookie Consent Banner Plugin

If you're looking for a self-hosted JavaScript solution to make your site or webapp comply with EU Cookie Law and GDPR (ePR), you shouldn't miss this collection of 10 best and free GDPR compliant Cookie Consent Banner plugins written in JavaScript (jQuery).

Originally Published June 22 2021, updated Mar 05, 2024

1. Stylish Multilingual GDPR & Cookie Consent Popup In Vanilla JavaScript

A standalone JavaScript library that displays a stylish, multilingual, customizable, accessible, GDPR compliant cookie consent popup to make your site comply with GDPR and EU Cookie Law.

Stylish Multilingual GDPR & Cookie Consent Popup In Vanilla JavaScript

[Demo] [Download]


2. GDPR Compliant Cookie Consent Banner In JavaScript – GlowCookies

A plain JavaScript library that displays a customizable, GDPR compliant cookie consent banner and automatically blocks third-party tracking codes (like Google Analytics, Facebook Pixel, etc) if the user rejects cookies.

GDPR Compliant Cookie Consent Banner In JavaScript – GlowCookies

[Demo] [Download]


3. Cookie Consent Settings Modal With jQuery And Bootstrap

Just another cookie consent plugin that makes your site comply with EU Cookie Law and GDPR.

Cookie Consent Settings Modal With jQuery And Bootstrap

[Demo] [Download]


4. GDPR Compliant Cookie Consent Popup Plugin - jQuery ihavecookies.js

ihavecookies.js is a lightweight, easy-to-style jQuery plugin to inform your users that your site has cookies and to make your website comply with the GDPR (General Data Protection Regulation) and EU cookie law.

GDPR Compliant Cookie Consent Popup Plugin - jQuery ihavecookies.js

[Demo] [Download]


5. Customizable GDPR Cookie Consent Popup In JavaScript – Cookify

A highly customizable GDPR cookie consent popup library to make your site or app compliant with GDPR and EU Cookie Law.

Customizable GDPR Cookie Consent Popup In JavaScript – Cookify

[Demo] [Download]


6. Get GDPR Compliant With Cookieconsent Library

A lightweight cookie consent library that helps your website comply with GDPR and ePrivacy Directive by managing cookies effectively.

Get GDPR Compliant With Cookieconsent Library

[Demo] [Download]


7. Advanced Cookie Consent Manager In JavaScript – cookiesConsent.js

An advanced cookie consent JavaScript library for requesting consent for cookie usage on your site.

Advanced Cookie Consent Manager In JavaScript – cookiesConsent.js

[Demo] [Download]


8. GDPR Cookie Compliance Plugin With jQuery - gdpr-cookie

Yet another jQuery GDPR plugin for cookie policies that displays a GDPR Cookie Consent Notice popup with the ability to opt-in and opt-out of the various types of cookies.

GDPR Cookie Compliance Plugin With jQuery - gdpr-cookie

[Demo] [Download]


9. Configurable GDPR Cookie Consent Popup - jQuery popupConsent.js

A jQuery plugin that allows your page and web app to comply with European Cookie Law and GDPR.

Configurable GDPR Cookie Consent Popup - jQuery popupConsent.js

[Demo] [Download]


10. Cookieconsent Script

A Javascript based solution for blocking/allowing even 3rd party cookies to comply with GDPR.

Cookieconsent Script

[Demo] [Download]


More Resources:

Looking for more jQuery plugins or JavaScript libraries to create GDPR Cookie Consent Banners on the web & mobile? See jQuery GDPR and JavaScript GDPR sections for more details.

Related Resources: