Import selected projects into Open WebUI
Prepare the selection
- Preview the ChatGPT export with your project-name map loaded.
- Click Select project-linked only, or clear the selection and add individual projects using the source project filter and Add filtered conversations.
- Check or uncheck individual conversations. The selection applies across pages; changing filters alone does not change the download scope.
- Enable Open WebUI candidate. Review the selected count before downloading.
The downloaded canonical JSON, Markdown, and candidate files contain only selected conversations. Project metadata is pruned to selected mapped projects. The report separates selection counts from the aggregate counts of the full preview.
Preserve project names
Chat JSON imports do not create folders. Creating a folder with the same name is not enough to route chats automatically: target assignment uses its actual ID. ChatGPT project IDs cannot be reused as Open WebUI folder IDs.
Choose one approach:
- Manual batch assignment: create a named destination folder for each project
in
openwebui/project-index.json. Import that project's JSON file, then move its imported batch into the matching folder using the controls supported by your installed version. Two projects may share a name but have different source IDs; keep them separate unless you explicitly want to merge them. - Existing folder-ID mapping: create the destination folders first, then obtain their real IDs from your installed target's folder metadata. Supply a JSON map from canonical project IDs to those destination IDs in advanced export settings. Confirm that the signed-in importing user can write to each folder. Folder IDs not used by the selected chats are ignored; they never create folders.
Example using invented IDs:
{
"canonical-garden-project": "existing-target-folder-uuid"
}
The same mapping is supported by the CLI:
ctxsplice /path/to/export.zip \
--project-map /path/to/project-map.json \
--project-linked-only \
--destination openwebui-candidate \
--openwebui-folder-map /path/to/folder-map.json \
--write --output ./selected-projects
Open WebUI v0.13.4 import route
Use Settings → Data Controls → Import Chats for file-based folder mappings.
The published v0.13.4 Settings importer forwards folder_id from the outer native
chat envelope. Sidebar file import/drag-and-drop uses the drop-target folder ID
instead: importing into the sidebar background clears the file's folder ID.
The existing CtxSplice candidate already has the correct native-style envelope.
Do not move folder_id inside chat, copy source-user IDs, or invent bookkeeping
timestamps to make a file look more like a native export. Those changes are not
required by the published Settings importer. The backend independently checks that
the importing user can write to the folder and clears inaccessible references.
User-run synthetic tests confirmed titles, text, redaction, alternative branches, manual assignment persistence, and automatic folder assignment through the API. The browser forwarded the mapped ID and the backend returned it correctly; the sidebar needed refreshing. See the investigation follow-up.
For approved automatic folder creation and direct verified import, use the separate connected migration workflow. The following steps apply to offline files; file generation itself never connects to a target.
Validate before using real conversations
Candidate compatibility remains provisional. In a disposable instance running the same version as your intended target, manually test a synthetic conversation with alternative branches, one named folder, and the folder-ID map. Check the displayed name, membership, branch navigation, persistence, and user isolation. Back up the target and review redacted outputs before any separately authorized real import. Offline file export performs no imports or target folder creation. Connected migration can do both only after a reviewed plan is approved.
Import either openwebui-candidate.json or the separate project chat files, never
both. Do not import the ZIP, canonical archive, or project index as chat JSON.
Repeated imports create duplicates. Separate project files omit selected chats
without mapped destination projects; those still appear in the combined candidate.
Candidates contain user/assistant text only. Structural/system/tool messages and
attachments are not imported; complete graph nodes remain in canonical JSON and
Markdown. No project instructions, knowledge bases, or memory settings are restored.
Reference: Open WebUI import/export documentation.