
About CookieConsent
CookieConsent is a free, open source cookie consent tool written in vanilla JavaScript. The project describes itself as GDPR and CCPA compliant, and it is released under the MIT License.
What it does
The plugin shows a consent banner and blocks scripts until the visitor gives explicit permission. It offers an API and a wide range of settings for changing the text, look and behavior of the banner. The project focuses on accessibility and on keeping the impact on page speed low.
Key features
- Blocks scripts until the visitor consents
- Small footprint with minimal page impact
- Full keyboard and screen reader support
- Configurable through a wide range of options
- Clear opt-out options for visitors
Who it's for
CookieConsent suits developers and website owners who want a self-hosted cookie banner without paying for a service. Teams that need hosted scanning and reporting may prefer a commercial platform.
Pricing and good to know
The project is MIT licensed and free to use. Its site includes a demo, a configuration guide and an API reference, and the source code is on GitHub. Because you host the script yourself, you are responsible for keeping the consent settings in line with your own legal advice.
Highlights
- Blocks scripts until the visitor consents
- Small footprint with minimal page impact
- Full keyboard and screen reader support
- Configurable through a wide range of options
- Clear opt-out options for visitors












