FindSoftware

tarteaucitron.js

Open-source JavaScript cookie consent banner that blocks third-party services until the visitor consents.

tarteaucitron.js is an open-source JavaScript cookie consent library. It shows a consent banner, and it keeps configured third-party services blocked until the visitor agrees. A site adds the library folder and a script tag, then calls an init function with its options. The library is published on GitHub and npm under the MIT license.

The author also sells a managed service, tarteaucitron.io Pro, with automatic detection of supported services, an online configuration dashboard and consent statistics.

Worth knowing

Initializing the banner alone does not block scripts that the site already loads elsewhere, and using the library does not by itself make a website comply with the GDPR. The README states both points.

Identity

Status
Active
Maintainer
Amauri Champeaux4
Maintained by
Individual
First release
20187
Headquarters
France4

Rendering and deploy

Install with
download from GitHub, placed in the site's root folder3

Releases

Current major version
17
Last release
2026-10-157

Adoption

GitHub stars
1,0592
npm downloads a week
13,5308
Contributors
1179

Why these figures do not compare

Sources

  1. 2026-11-03: links
    tarteaucitron.io/
  2. 2026-11-03: links, Written in, License, GitHub stars
    api.github.com/repos/AmauriC/tarteaucitron.js
  3. 2026-11-03: links, Install with
    tarteaucitron.io/en/free-installation-open-source/
  4. 2026-11-03: Maintainer, Headquarters
    tarteaucitron.io/mentions-legales/
  5. 2026-11-03: Categories, License model
    github.com/AmauriC/tarteaucitron.js/blob/master/README.md
  6. 2026-11-03: License
    github.com/AmauriC/tarteaucitron.js/blob/master/LICENSE
  7. 2026-11-03: First release, Current major version, Last release
    api.github.com/repos/AmauriC/tarteaucitron.js/releases
  8. 2026-11-03: npm downloads a week
    api.npmjs.org/downloads/range/2026-10-26:2026-11-01/tarteaucitronjs
  9. 2026-11-03: Contributors
    api.github.com/repos/AmauriC/tarteaucitron.js/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON