To export cookie banner settings in ClearCrumb, open the Dashboard, scroll to Export and import settings and click Export settings; your browser saves one small JSON file. Import that file on another site and it gets the same banner, rules and services. It is useful for agencies, for moving from staging to live, and as a backup before big changes.
Why export cookie banner settings?
Setting up a consent banner well takes some time: the layout and colours, the texts, the region rules, Consent Mode and the list of services that must wait for consent. When you export cookie banner settings, you do that work once and reuse it.
- Agencies: build one approved setup and copy it to each client site, then adjust only what differs.
- Staging to live: test the banner on staging, then move the finished setup to the live site in one step.
- Backup: export cookie banner settings before a big change, so you can go back if you do not like the result.
The file only holds ClearCrumb settings. It is not a site backup and it does not contain any visitor data.
How do I export cookie banner settings?
- Open the ClearCrumb Dashboard and scroll to Export and import settings. The card sits at the bottom of the page.
- Click Export settings. Your browser saves a small
.jsonfile.
The file name includes your site’s address and the date, for example clearcrumb-settings-example.com-2026-10-14.json, so exports from several sites do not get mixed up. Keep the file somewhere safe; anyone with it can see your banner texts and service list, though nothing about your visitors.
Only administrators can export these settings, because the card and the request behind it need the right to manage options in WordPress.

How do I import the file on another site?
- On the other site, install ClearCrumb, open the same card and click Import settings….
- Choose the file. ClearCrumb shows what it will change in a dialog titled Import settings?
- Confirm with Import, or click Cancel to leave everything as it is.
The dialog tells you which ClearCrumb version made the file and how many services it holds. It also states plainly that the import replaces your banner and signal settings and your services list, while your cookie policy link and consent log are kept, and that visitors are not asked again.
After the import the admin screen reloads, so every screen shows the new settings and services. The setup wizard is marked as done on that site, because the imported setup is complete. Then set the cookie policy page for this site on the Banner screen, and run the cookie leak test to confirm nothing loads before consent.
What is in the file, and what is not?
When you export cookie banner settings, the file holds everything that describes how the banner looks and behaves, and leaves out what belongs to one site only.
| Copied | Not copied |
|---|---|
| Banner layout, style, colours and texts; region rules and GPC; Consent Mode settings; your services and their cookies. | The cookie policy page address and the setup status, because they belong to each site. Consent records are never in the file. |
The consent version is not copied either. That is why an import never asks visitors on the target site to choose again: their earlier answers stay valid.
Imported values go through the same checks as the admin screens, so a hand-edited file cannot slip in a value the settings screens would not accept. The services list is replaced, not merged: services on the target site that are not in the file are removed from its list.

How do I use an export as a backup?
Before you try a new layout, change your region rules or clean up your services list, export cookie banner settings first. If you do not like the result, import that file on the same site and your earlier setup comes back.
- Click Export settings and keep the file with a clear name or date.
- Make your changes and check the banner on the front end.
- To go back, click Import settings…, choose the saved file and confirm with Import.
Rolling back this way replaces the banner and signal settings and the services list. Your cookie policy link and your consent log are not touched, and visitors are not asked again. It is a simple habit: export a fresh file before each big change.
Which files does the import refuse?
The import only accepts files exported by ClearCrumb. A file from another plugin is refused, and so is a file made by a newer ClearCrumb version than the one on the target site; update ClearCrumb there first. The message reads “This is not a ClearCrumb settings file, or it was made by a newer version.”
To move from Complianz, CookieYes or Cookiebot, use Import from other plugins instead. That import reads the old plugin’s settings straight from your database, so you do not need a file at all.
Can I export the consent log from the command line?
Yes. The settings file never holds consent records, but the consent log can be exported with WP-CLI:
wp clearcrumb log export --format=csv
Use --format=json for JSON, and --days=7 to limit the export to recent records. Redirect the output to a file, for example wp clearcrumb log export > consent-log.csv. See Hooks & WP-CLI for all commands, and the official WP-CLI command reference for how WP-CLI works.
In the admin, the Consent log screen has an Export CSV button; the GDPR consent log page explains what each record holds. Keep consent records on the site that collected them. ClearCrumb helps you meet consent rules; it is not legal advice.
Export cookie banner settings: questions
Can I export cookie banner settings to a site with an older ClearCrumb version?
Only if the older version understands the file format. If it does not, the import is refused with a clear message. Update ClearCrumb on the target site and try again.
Does importing the file change my cookie policy page?
No. The cookie policy link is never in the file, so each site keeps its own. Set or create it on the Banner screen of the target site.
Will visitors see the banner again after an import?
No. The consent version is not part of the file, so answers that visitors already gave on the target site stay valid.
Can I edit the JSON file by hand?
You can, but take care. ClearCrumb checks every value on import, and anything the settings screens would not accept is not saved.