Generate ↓
Free · GDPR-friendly · One snippet

Free cookie banner for WordPress

Customise a GDPR-friendly cookie banner, copy one snippet of code, and paste it into your site. No account, no monthly fee to start.

Paste it just before </body> on your site.

Live preview
Your code
Recommended next step
Putting your site live? Get hosting + a free domain.
Add your cookie banner, then launch with Hostinger — affordable hosting with a free domain included.
Get hosting with Hostinger →

Cookie consent on WordPress without a plugin

Plugins add weight and often upsell. You can add a compliant banner to WordPress by pasting one snippet into your theme or a code block.

💡

Tip: Add the snippet via your theme's footer or a code-snippets tool so it survives theme updates.