Importing and Exporting Data
Exporting Data
Export a JSON File
Export all data as a JSON file for backup or migration:
- Open the Oh My Prompt side panel
- Open the Settings tab and select Import & Export
- Click Export Data
- The
oh-my-prompt.jsonfile downloads automatically
The exported data includes:
- All prompts and categories
- Temporary prompts generated by Vision
- Sync settings
Back Up to a Local Folder
Local backup is available under Settings → Sync & Backup:
- Click Select Folder and choose a local folder
- After local backup is enabled, every data change is backed up to this folder automatically
- Backup files use the names
omps-backup-{timestamp}.jsonandomps-latest.json - Click Backup History to view all previous versions
- Select any previous version to restore it
Note: Uninstalling the extension removes its data, but does not affect data in the local backup folder. You can restore that data after reinstalling the extension.
Importing Data
Import from a JSON File
- Open the Settings tab and select Import & Export
- Click Import Data
- Select a previously exported JSON file
- The data is merged automatically
Import Rules
- Imported data is merged with existing data; it does not overwrite it
- If a category or prompt has an existing ID, the existing version is kept and the imported item is skipped
- New categories and prompts are added and assigned new IDs
- The number of added items is displayed when the import finishes
Data Format
Exported JSON files use a nested structure:
{
"version": "1.0.0",
"userData": {
"categories": [
{ "id": "...", "name": "Category name", "order": 0 }
],
"prompts": [
{
"id": "...",
"name": "Prompt name",
"content": "Prompt content",
"categoryId": "...",
"description": "Optional description",
"order": 0
}
]
},
"settings": {
"showBuiltin": true,
"syncEnabled": false
},
"temporaryPrompts": []
}
Cloud Sync
Cloud sync is available under Settings → Sync & Backup:
- Click Sign In and authenticate with GitHub or email
- After signing in, enable cloud sync to store data securely in the cloud
- Multi-device sync is supported; changes on any device are synced to the cloud automatically
- You can also select Upload to Cloud or Download to Local manually
- Click Open Web App to manage data on the website
Benefits of cloud sync:
- Automatic cross-device sync without manual imports or exports
- Secure cloud storage that remains available if the extension is uninstalled
- Team collaboration and sharing through the web app