Skip to content

Import / export JSON schema

This page documents the JSON format accepted by the import / export wizard. The same descriptions appear as tooltips in the extension editor. Fields marked as required must be present; the others are optional.

FieldTypeRequiredDescription
notestringNoOptional free-form note attached to this export.
domainRulesarray of objectsYesList of domain rules to import.
FieldTypeRequiredDescription
notestringNoOptional free-form note attached to this export.
sessionsarray of objectsYesList of saved tab sessions to import.
FieldTypeRequiredDescription
notestringNoOptional free-form note attached to this export.
workspaceobjectYesWorkspace metadata (name and accent color).
settingsobjectYesGrouping, deduplication and notification preferences.
domainRulesarray of objectsYesList of domain rules to import.
sessionsarray of objectsYesList of saved tab sessions to import.
statisticsobjectNoOptional grouping and deduplication counters.

The formats above reference the objects detailed here.

FieldTypeRequiredDescription
idstringYesUnique identifier of the rule (UUID).
domainFilterstringYesDomain that activates the rule (for example github.com).
labelstringYesName shown on the created tab group.
fallbackLabelstringNoGroup name used when extraction returns nothing.
titleParsingRegExstringYesRegular expression, with a capture group, applied to the tab title.
urlParsingRegExstringYesRegular expression, with a capture group, applied to the tab URL.
groupNameSourcevalues: title, url, manual, smart, smart_manual, smart_preset, smart_label, labelYesSource used to derive the group name.
deduplicationMatchModevalues: exact, includes, exact_ignore_paramsYesHow duplicate tabs are matched for this rule.
colorvalues: grey, blue, red, yellow, green, pink, purple, cyan, orangeNoOptional color of the tab group.
categoryIdstring (nullable)NoOptional category this rule belongs to.
deduplicationEnabledboolean (default: true)NoWhether deduplication is enabled for this rule (default true).
ignoredQueryParamsarray of string (default: [])NoQuery parameters ignored when comparing URLs.
presetIdstring (nullable)YesIdentifier of a regex preset, or null for a custom rule.
urlExtractionModevalues: regex, query_param (default: "regex")NoHow the value is extracted from the URL: regex or query_param.
urlQueryParamNamestringNoQuery parameter name used when the extraction mode is query_param.
enabledbooleanYesWhether the rule is active.
badgestringNoOptional short badge text shown on the rule.
createdAtstringNoISO 8601 timestamp of when the rule was created.
updatedAtstringNoISO 8601 timestamp of the last rule update.
FieldTypeRequiredDescription
idstringYesUnique identifier of the session (UUID).
namestringYesDisplay name of the session.
createdAtstringYesISO 8601 timestamp of when the session was captured.
updatedAtstringYesISO 8601 timestamp of the last session update.
groupsarray of objectsYesTab groups saved in this session.
ungroupedTabsarray of objectsYesTabs saved outside any group.
isPinnedbooleanYesWhether the session is a pinned profile.
isArchivedbooleanNoWhether the session is archived.
categoryIdstring (nullable)NoOptional category this session belongs to.
notestringNoOptional free-form note attached to the session.
positionnumberNoOptional position used to order the session in the list.
FieldTypeRequiredDescription
idstringYesUnique identifier of the tab group (UUID).
titlestringYesTitle of the tab group.
colorvalues: grey, blue, red, yellow, green, pink, purple, cyan, orangeYesColor of the tab group.
tabsarray of objectsYesTabs contained in this group.
collapsedbooleanNoWhether the group is collapsed.
FieldTypeRequiredDescription
idstringYesUnique identifier of the tab (UUID).
titlestringYesTitle of the tab.
urlstringYesURL of the tab.
favIconUrlstringNoOptional favicon URL of the tab.
FieldTypeRequiredDescription
namestringYesName of the workspace.
accentColorvalues: tomato, red, ruby, crimson, pink, plum, purple, violet, iris, indigo, blue, cyan, teal, jade, green, grass, orange, amber, yellow, limeYesAccent color of the workspace.
FieldTypeRequiredDescription
globalGroupingEnabledbooleanYesWhether automatic grouping is enabled globally.
globalDeduplicationEnabledbooleanYesWhether deduplication is enabled globally.
deduplicateUnmatchedDomainsbooleanYesWhether tabs on domains without a matching rule are deduplicated.
deduplicationKeepStrategyvalues: keep-old, keep-new, keep-grouped, keep-grouped-or-newYesWhich of two matching tabs is kept during deduplication.
defaultRestoreActionvalues: current, new, replace, customizeNoDefault action used when restoring a session.
notifyOnGroupingbooleanYesWhether a notification is shown when tabs are grouped.
notifyOnDeduplicationbooleanYesWhether a notification is shown when tabs are deduplicated.
notifyOnOrganizebooleanNoWhether a notification is shown after organizing all tabs.
FieldTypeRequiredDescription
tabGroupsCreatedCountnumberYesTotal number of tab groups created.
tabsDeduplicatedCountnumberYesTotal number of tabs deduplicated.
dailyBucketsobject (default: {})NoPer-day grouping and deduplication counters.
firstUsedAtstringNoISO 8601 timestamp of first recorded usage.