Script to convert a claude data export (conversations.json) to a OpenWebUI compatible format.
Usage:
- Request a Claude data export
- Wait for the mail with the download and download and extract everything
- Run
claude2openwebui.py. You should use --split 100 to split the output into multiple files because in my case it was too large and caused OpenWebUI to crash - Optional: Go to claude.ai and paste the project export script
- Create a OpenWebUI API Key (currently it's off by default, go to admin settings and turn it on)
- Make sure all chats from
claude2openwebui.pyare imported - Run the
owui_project_folders.pyscript to create the project folders and map the chats to it