Cookies & tracking
Cookie banner text examples you can adapt
Good cookie banner text says who you are, what you want to use cookies for, who else is involved, and how to say no, in plain words and with buttons that do exactly what they say. Below are ready-to-edit examples for opt-in, opt-out and notice banners, with the reasoning behind each line.
- Plain English
- Written for website owners
- Free to read
On this page
Good cookie banner text answers four questions in a few seconds: who is asking, what you want to do with cookies, who else gets the data, and how to refuse or change your mind. The buttons must say exactly what they do, and refusing must be as easy as accepting. Below you'll find sample wording for opt-in banners (EU, UK and similar laws), opt-out notices (US state laws), notice-only banners, preference-center category descriptions, and the phrases regulators object to.
Treat every example as a starting point. Replace the bracketed parts with your own details and remove anything that doesn't match what your site actually does.
What the first layer has to cover
Under the GDPR, consent must be informed and specific (Art. 4(11)), and the European regulators' guidance expects the key facts on the first screen, not buried two clicks deep. In practice, the first layer of an opt-in banner should tell visitors:
- Who you are. Usually obvious from the site, but name the business if it isn't.
- The purposes. Name them in plain words: measuring visits, remembering settings, showing ads, measuring ad results.
- That third parties are involved, if they are, such as analytics or advertising partners.
- The choice. Accept, reject or customize, with equal prominence.
- How to change your mind later, for example through a cookie settings link or button.
- Where to read more: a link to your cookie policy.
You don't need to list every cookie on the first layer. That belongs in the preference center and your cookie policy. The legal background is covered in GDPR consent requirements.
Opt-in banner examples (EU, UK and similar)
Use these where non-essential cookies need consent before they're set: the EU and EEA, the UK, and other regions where you've chosen an opt-in approach.
Short version (analytics only)
We'd like to use cookies to understand how visitors use this site, so we can improve it. We won't set these cookies unless you accept. You can change your choice at any time from "Cookie settings" at the bottom of every page. [Read our cookie policy]
[Reject all] [Preferences] [Accept all]
This works for a site that only runs an analytics tool. It names the purpose, says nothing happens without consent, and explains how to change your mind.
Standard version (analytics, embeds and advertising)
We use cookies that are needed for the site to work. With your permission, we and our partners would also like to use cookies and similar technologies to measure how the site is used, remember your preferences, and show and measure ads on other websites. Choose "Accept all" to allow these, "Reject all" to refuse them, or "Preferences" to decide by category. You can change your mind at any time in Cookie settings.
[Reject all] [Preferences] [Accept all]
"Similar technologies" matters because consent rules cover localStorage, pixels and other device storage too, not only cookies. "And our partners" signals third parties; link to the partner list in the preference center.
Ecommerce version
Your cart and checkout use essential cookies. We'd also like to use optional cookies to analyze shopping trends on our store and to show you relevant ads on social media and other sites. These are only used if you agree. [Reject all] [Preferences] [Accept all]
Banner title options
A heading helps screen reader users and gives the banner context. Neutral options include "Cookie settings", "Your privacy choices" or "We use cookies". Avoid titles that sell, such as "Help us give you the best experience", because they frame acceptance as the expected answer.
Button labels that say what they do
Labels cause more problems than paragraphs. Visitors often read only the buttons, so each one must describe its result.
| Use | Good labels | Labels to avoid |
|---|---|---|
| Agree to all optional categories | Accept all, Allow all, Accept cookies | OK, Got it, Continue, Close (if they mean accept) |
| Refuse all optional categories | Reject all, Decline all, Refuse optional cookies | Maybe later, No thanks, I prefer a worse experience |
| Open the detailed choices | Preferences, Customize, Manage choices | More information (when it's the only alternative to accept) |
| Confirm choices in the preference center | Save choices, Confirm my choices | Accept (when it actually saves everything as on) |
| Reopen settings later | Cookie settings, Privacy choices | Labels hidden in the privacy policy only |
Pair labels logically: "Accept all" with "Reject all", "Allow" with "Deny". A pair like "Accept all" and "Preferences" isn't a real choice, because it makes refusal take extra steps. Regulators in the EU have rejected that pattern, and California's CCPA regulations use almost the same example to describe a choice that isn't symmetrical (Cal. Code Regs. tit. 11, §7004(a)(2)). Our guide to cookie banner dark patterns covers the regulators' reasoning.
Preference center category descriptions
The second layer lists categories with a switch for each optional one, all off by default. Each description should say what the cookies do, give an example, and say whether data goes to third parties. The categories themselves are explained in cookie categories explained.
Necessary (always on). These cookies make the site work: keeping you signed in, remembering your cart, protecting forms against misuse and storing your cookie choices. They can't be switched off because the site can't work without them.
Functional. These remember choices you make, such as language or region, and let us show embedded content like videos and maps. Some are set by the providers of that content. If you turn them off, some features may not work.
Analytics. These help us understand how visitors use the site, such as which pages are popular and where people leave, so we can improve it. We use [analytics tool], which receives this data on our behalf.
Marketing. These let us and our advertising partners, such as [ad platforms], show you relevant ads on other websites and measure whether our ads work. They may be used to build a profile of your interests.
Add a "Reject all" button to the preference center too, next to "Save choices" and "Accept all", so visitors who opened it don't have to switch categories off one by one. Below each category, you can list the individual services and cookies with their provider, purpose and lifetime.
Opt-out text for US visitors
Most US state privacy laws don't require consent before cookies are set. They require notice and a way to opt out of the "sale" or "sharing" of personal information and of targeted advertising. The wording reflects that. For how the two models differ, see opt-in vs opt-out consent.
Footer link
The CCPA names the link "Do Not Sell or Share My Personal Information" (Cal. Civ. Code §1798.135(a)). As an alternative, the regulations allow a single link titled "Your Privacy Choices" or "Your California Privacy Choices" with the official opt-out icon (§7015). Use the exact wording rather than a paraphrase.
Notice banner with opt-out
We and our advertising partners use cookies and similar technologies to show you ads based on your browsing on this and other sites. This may be considered "selling" or "sharing" personal information under some US state laws. You can opt out at any time. [Do Not Sell or Share My Personal Information] [Close]
Confirmation when a browser signal is honored
If a visitor's browser sends Global Privacy Control, you treat it as an opt-out. California's regulations, as amended from January 1, 2026, require businesses to show whether they've processed the signal (§7025(c)(6)); a short status line or a toggle shown as off can do this. Check the current text of the regulation for the exact requirement.
Your browser's Global Privacy Control signal was received. We've opted you out of the sale and sharing of your personal information on this browser.
Notice-only banner examples
In regions with no consent or opt-out requirement for cookies, some sites show a simple notice instead. Keep it honest: a notice informs, it doesn't ask.
This site uses cookies to keep it working, measure traffic and [show ads]. Learn more in our cookie policy, where you can also see how to control cookies. [OK]
"OK" is fine here because nothing is being consented to. The same label on an opt-in banner would be a problem, because it hides the fact that clicking it means accepting tracking. Don't use a notice-only banner where your visitors' law requires consent first.
Wording to avoid
Regulators look at the whole banner, words included. These phrases tend to cause trouble:
- "By continuing to browse, you accept cookies." Scrolling or browsing isn't a clear affirmative action under the GDPR.
- "We use cookies to improve your experience." Too vague. If the cookies are for advertising, say so.
- "We value your privacy" as the only explanation. It's a slogan, not information.
- Guilt or pressure, such as "Rejecting cookies hurts the small team behind this site" or "Are you sure? You'll miss out."
- "Necessary" for things that aren't. Analytics and ads described as needed for the site to work mislead visitors.
- "Legitimate interest" for optional cookies. Consent is the rule for non-essential device storage in the EU and UK.
- Jargon such as "cross-device graph enrichment" or long lists of vendor names on the first layer.
- Promises you can't keep, such as "We never share data" when an ad pixel is on the page.
A quick test for any banner text: read only the button labels aloud. If someone hearing just those words can't tell which one refuses tracking, rewrite them.
Adapting and maintaining your text
Banner text isn't write-once. A few practical points:
- Match the text to the tags. Run a cookie scan, list what actually loads, and make sure every purpose you use appears in the text and every category has a matching description.
- Translate properly. Show the banner in the page's language, and have translations checked by a fluent speaker. Button labels in particular must stay unambiguous.
- Keep it short on mobile. Long first-layer text on a phone pushes the buttons off-screen. Move detail to the second layer.
- Ask again when the text changes materially. If you add a new purpose, such as advertising, consent given to the old text doesn't cover it.
- Keep a copy of each version. Your records of consent should show what wording a visitor saw when they chose.
Tools differ in how much text they let you edit. PrivacyQuick, for example, ships default banner text in 15 languages, lets you edit it, and treats a change to the banner text or categories as a new banner version, so visitors are asked again and the consent log records which version each choice was made on.
Next steps
- Run a free cookie scan and list the purposes and third parties your site actually uses.
- Pick the example that fits each region you serve and fill in the brackets.
- Check the button labels against the table above and pair Accept all with Reject all.
- Write one description per category in the preference center, with examples.
- Read the finished banner on a phone and in each language you support.
Frequently asked questions
Can I copy a cookie banner text from another website?
You can borrow the structure, but the text has to describe your own site: the purposes, the third parties and the categories you actually use. A banner that mentions tools you don't run, or leaves out ones you do, doesn't inform visitors properly.
How long should cookie banner text be?
Short enough to read in a few seconds on a phone, usually two to four sentences on the first layer. Put the details, such as the list of vendors and cookie lifetimes, in the preference center and cookie policy.
Should the button say Reject all or Decline?
Either works if the meaning is clear and it sits next to the accept option with the same prominence. Pair the words logically, such as Accept all with Reject all, so visitors don't have to guess what each button does.
Do I need to translate my cookie banner?
If you target visitors in other languages, yes. Consent has to be informed, and text a visitor can't read doesn't inform them. Show the banner in the language of the page.
Check your own website in 30 seconds
Our free scanner lists every cookie and tracker your site sets, sorted into categories, before you add a banner.
This guide is general information, not legal advice. Laws and regulator guidance change; check the current rules for your situation or ask a lawyer.