Cookie Consent Banner Generator
Generate a self-contained GDPR-style cookie consent banner (HTML, CSS, vanilla JS) with accept, reject, and save-preferences actions.
Overview
The Cookie Consent Banner Generator outputs a single copy-paste snippet of HTML, CSS, and dependency-free JavaScript that implements a GDPR-style consent banner. It offers Accept all, Reject non-essential, and Save preferences with per-category toggles, persists the decision in localStorage, and fires a window event so you can conditionally load analytics or marketing tags. Customise the categories, position, theme, and accent colour, then review with a professional to confirm it meets your local consent requirements.