Importing and Exporting Data

Exporting Data

Export a JSON File

Export all data as a JSON file for backup or migration:

  1. Open the Oh My Prompt side panel
  2. Open the Settings tab and select Import & Export
  3. Click Export Data
  4. The oh-my-prompt.json file 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 SettingsSync & Backup:

  1. Click Select Folder and choose a local folder
  2. After local backup is enabled, every data change is backed up to this folder automatically
  3. Backup files use the names omps-backup-{timestamp}.json and omps-latest.json
  4. Click Backup History to view all previous versions
  5. 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

  1. Open the Settings tab and select Import & Export
  2. Click Import Data
  3. Select a previously exported JSON file
  4. 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 SettingsSync & Backup:

  1. Click Sign In and authenticate with GitHub or email
  2. After signing in, enable cloud sync to store data securely in the cloud
  3. Multi-device sync is supported; changes on any device are synced to the cloud automatically
  4. You can also select Upload to Cloud or Download to Local manually
  5. 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