TC string decoder

Paste a TCF consent string (euconsent-v2 cookie). The decoder shows purposes, legitimate interest, vendors and CMP. Free, no sign-up, nothing is stored.

TCF v2.0 – v2.3 Deutsch

What a TC string is

Banner tools following IAB Europe's Transparency and Consent Framework (TCF) store the visitor's choice as a short text, usually in the euconsent-v2 cookie. Advertising and measurement services read it before they load. The string is base64url encoded and holds the time, the banner tool (CMP ID), the vendor list version, consent and legitimate interest per purpose and the IDs of the allowed vendors.

The eleven purposes

  1. Store and/or access information on a device
  2. Use limited data to select advertising
  3. Create profiles for personalised advertising
  4. Use profiles to select personalised advertising
  5. Create profiles to personalise content
  6. Use profiles to select personalised content
  7. Measure advertising performance
  8. Measure content performance
  9. Understand audiences through statistics or combinations of data from different sources
  10. Develop and improve services
  11. Use limited data to select content

Find your own website's string

  1. Make a choice

    Open the website in a private window and accept, reject or choose in the banner.

  2. Open the console

    F12, Console tab, then: __tcfapi('getTCData', 2, d => console.log(d.tcString))

  3. Or copy the cookie

    Application tab (Chrome) or Storage (Firefox), Cookies, value of euconsent-v2.

What else a banner has to show: Cookie banner requirements.

Questions

Where do I find my website's TC string?

In the euconsent-v2 cookie (developer tools, Application or Storage tab, Cookies) or in the console with __tcfapi('getTCData', 2, d => console.log(d.tcString)). Make a choice in the banner first, otherwise there is no string yet.

Is my string stored?

No. The server decodes it on request and forgets it. No request goes to third parties, not even to the IAB vendor list.

Why are vendors shown as numbers instead of company names?

The string only holds the numbers from the IAB Global Vendor List. The names are in that list, in the version the decoder shows.

What does legitimate interest in the string mean?

The vendor does not rely on consent for this purpose but on legitimate interest, and the visitor has not objected. The EDPB Cookie Banner Taskforce objected to this for storage access (purpose 1).

Does the decoder check whether my banner blocks correctly?

No, it only reads the stored choice. Whether something still loads before consent or after rejecting is what the free website check measures.

Not legal advice. The decoder only reads the string.