Tool
TCF String Decoder
TCF String Decoder
Decode IAB TCF v2 consent strings into human-readable metadata, purposes, and vendor consent arrays. Paste a TC string from a CMP or euconsent-v2 cookie, and instantly see what it contains for QA, troubleshooting, and compliance checks. Everything runs client-side for privacy.
Paste a TCF string and see the consent metadata in plain JSON.
TCF String Decoder
Decode IAB Transparency & Consent strings into readable fields.
Uses this app’s cached GVL (last updated —).
Decoding runs locally using @iabtcf/core. Vendor names come from this app’s cached IAB GVL snapshot.
Decoded output
Expand, collapse, or search the JSON.Decode a TCF string to see details here.
Raw JSON (for copy/paste)
Summary
Key consent signals and versions.Decode a TCF string to view the summary.
How it works
The TCF String Decoder breaks down IAB Transparency & Consent Framework strings so you can inspect CMP settings, purpose consents, and vendor signals without guessing.
Use it to decode TCF strings, validate CMP metadata, and map consented vendors and purposes.
What you can do with it
- Quickly validate consent strings during QA.
- Surface CMP metadata like version, language, and policy version.
- See which purposes or vendors are consented at a glance.
Common tasks
- Debug euconsent-v2 values from tag logs.
- Verify CMP configurations before launch.
- Share decoded results with privacy or ops teams.
Quick steps
- Paste a TCF v2 string from your CMP or cookie store.
- Click Decode to parse the string locally.
- Review the JSON output for metadata, purposes, and vendor consents.
Related tools
More tools in the privacy category.
- Cookie Inspector — Parse and analyze Set-Cookie headers or page cookie dumps to surface security, scope, and privacy issues with remediation guidance. Useful for privacy, security, and ad ops teams to quickly understand cookie risks and fixes.
Before you start
- Paste a TCF v2 string (core or full string).
- Load the sample to see a valid format.
What you get
- Readable JSON with metadata and consent vectors.
- Purpose and vendor arrays ready to export or share.
Common pitfalls
- Invalid or truncated strings will fail to decode.
- Publisher segments may be absent in some strings.
Tips for best results
- Paste raw input so the tool can apply formatting consistently.
- If output looks wrong, validate the input for missing commas or tags.
- Use the example buttons above to sanity-check formatting and behavior.
Accuracy & limitations
- Outputs are deterministic and based only on the input you provide.
- When official specs exist, the tool favors strict parsing over guesses.
- URL-based tools can vary by region, cache, or upstream availability.
- Always validate critical outputs in your production systems before launch.
Trust & quality
- Maps data to published standards and versioned lists.
- Highlights security/privacy flags explicitly.
Who it is for
- QA and support teams validating outputs before launch.
- Analysts and operators who need fast clarity on raw data.
- Engineers and technical writers documenting system behavior.
When to use this tool
- You need a quick answer without scripting or a full IDE.
- You want a repeatable, shareable output for teammates.
- You are troubleshooting inconsistent or malformed input.
Quick checklist
- Input is complete and copied in full.
- Output matches expectations and no errors are shown.
- Share or export the result if you need to keep a record.
Frequently asked questions
Is it free to use?
Yes. Core tools are free and accessible without signup.
Does it upload my data?
This tool runs locally in your browser. Data you paste or files you upload stay on your device and are not uploaded.
What if I spot a bug?
Please reach out via the Contact page with a reproduction example.
Where do vendor names come from?
Vendor names are mapped from the IAB Global Vendor List cached by the app.
Does it verify signatures or consent legitimacy?
No. It decodes the string and reports the data it contains.
Is the input uploaded?
No. Decoding runs locally in your browser.
Standards & references
Official specs that inform how this tool interprets data.