GDPR consent in one script tag. ~6kb. Done.

No account. No dashboard. Google Consent Mode v2 built in. Drop it on any site and move on to real work.

Google Consent Mode v2~6kb gzippedNo account neededMIT Licensed
Configure & try it liveFull demo →
<script src="https://www.safebanner.com/safebanner.js"></script>

Want logo, auto theme, and compact layouts?

What you need, without enterprise baggage.

OneTrust is for enterprises. Cookiebot is slow and expensive. Most free scripts are abandoned. SafeBanner is a maintained, open source banner that takes 2 minutes to install and never needs a dashboard.

Live in 5 minutes.

1

Add one script tag

No build step. Works with any stack.

2

Customize if you want

Colors, position, text. Or use defaults.

3

You're compliant

Consent stored. Google signals sent automatically.

Built for teams who hate their current solution.

Open source

Audit the code yourself. No black boxes.

Lightweight

~6kb gzipped. No external dependencies.

Actually works

GDPR opt-in by default. Consent persists. Google gets the signal.

No account required

Free tier runs entirely client-side.

What SafeBanner covers

  • Visible consent banner on first visit
  • Accept All / Reject All buttons
  • Granular categories (Necessary, Analytics, Marketing)
  • Google Consent Mode v2 signals
  • Mobile-friendly, accessible UI
  • GDPR-compliant opt-in by default
  • Multi-language support (EN, FR, DE)
  • Timestamped consent in localStorage

Intentionally simple

SafeBanner focuses on consent UI and signaling. It doesn't:

  • Block or rewrite scripts
  • Manage vendors or IAB TCF strings
  • Store hosted consent records
  • Act as your legal system of record

SafeBanner manages consent on the site itself. No hosted consent records, no data processor relationship, no subprocessor complexity.

You stay in control. SafeBanner exposes consent state via API. Check hasConsentFor('analytics') before loading your trackers.

Simple pricing.

Free gets you a fully working consent banner. Pro makes it match your product.

No hosted consent records. No enterprise bloat. Just a clean banner that works.

Free

Open source

$0

  • Banner + consent UI
  • Google Consent Mode v2
  • Custom color, position, and theme
  • English, French, German
  • Powered by SafeBanner
Get Started

Pro

Make it yours

$15/mo

  • Everything in Free, plus:
  • No SafeBanner branding
  • Logo support
  • Auto dark/light theme
  • Compact bar and floating card layouts
  • Custom text and button labels
  • More languages (ES, IT, NL, PT + 40 more)
  • Commercial use license
Upgrade to Pro

What if I'm audited?

SafeBanner helps you capture consent choices and send Google Consent Mode v2 signals, but it is not legal advice and it does not act as your hosted system of record. Consent stays on the site itself, not in a SafeBanner dashboard.

FAQ

Is this really free?

Yes. The open-source version is fully functional. Pro adds branding removal, more languages, and banner customization.

Can I self-host?

Yes. MIT license. Run it on your own infra.

Does this work with React/Next/WordPress/etc?

Yes. It's a single script tag. Works everywhere.

What if I'm audited?

Consent is stored in the user's browser. SafeBanner does not store hosted consent records or act as a compliance system of record — that keeps your setup simple and your liability low. If you need server-side audit trails, your own backend is the right place to capture and own that data.

Install it in 2 minutes. Never think about it again.

One script tag. Works with any stack. No account, no dashboard, no bloat.