Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Aida Backup Converter

Aida Backup Converter(简称 ABC)是一个本地 HTML 小工具,用来把 AI 对话备份转成更适合阅读、搜索和长期保存的离线 HTML。

它支持 Claude Chat、Claude Cowork、Claude Code、ChatGPT 和 Codex。整个转换过程都在你自己的浏览器里完成,不需要登录账号,不需要服务器,也不会把文件上传到网络。

Aida Backup Converter, or ABC, is a local HTML tool for turning AI conversation backups into reading-friendly offline archives.

It supports Claude Chat, Claude Cowork, Claude Code, ChatGPT, and Codex. All processing happens in your browser on the current device. No account, server, database, or network upload is required.

准备备份 / Required

使用前,你需要先准备对应平台的备份文件:

  • Claude Chat:使用 Claude 网页导出的备份文件夹,通常包含 conversations.json
  • Claude Cowork:需要从本机 Claude 数据目录中整理 local_*.jsonaudit.jsonl
  • Claude Code:选择 ~/.claude/projects,如果想补回本机侧边栏标题,也可以同时整理 claude-code-sessions
  • ChatGPT:使用 ChatGPT 官方数据导出,通常包含 conversations.jsonconversations-000.json
  • Codex:使用本机 Codex 备份文件夹,通常包含 codex-home/sessions

Before using the tool, prepare the backup files for the source you want to convert:

  • Claude Chat: use the official Claude export folder, usually containing conversations.json.
  • Claude Cowork: collect local_*.json and audit.jsonl from the local Claude data folder.
  • Claude Code: select ~/.claude/projects; to restore local sidebar titles, also include claude-code-sessions.
  • ChatGPT: use the official ChatGPT data export, usually containing conversations.json or conversations-000.json.
  • Codex: use a local Codex backup folder, usually containing codex-home/sessions.

使用方法 / Use

打开 Aida-Backup-Converter.html,选择数据来源,然后选择对应的备份文件或文件夹。转换完成后,页面会生成一个可以下载的 HTML 归档文件。

生成的 HTML 是单文件离线页面,可以直接用浏览器打开。它会保留对话标题、时间、消息内容,并提供侧边栏和搜索,方便你之后查找和阅读。

Open Aida-Backup-Converter.html in a browser, choose the backup source, then select the exported file or folder. When conversion finishes, download the generated HTML archive.

The generated archive is a single offline HTML file. It keeps conversation titles, timestamps, and message content, with a sidebar and search for easier reading later.

隐私与安全 / Privacy

这里的“选择文件”或“上传文件”并不是真正上传到互联网。浏览器只是读取你电脑上的本地文件,然后由这个 HTML 文件里的 JavaScript 在本机完成转换。

你的备份不会发给作者,也不会进入服务器或数据库。你也可以断网使用,或者打开浏览器开发者工具的 Network 面板自行检查。

不过,生成后的 HTML 归档会包含你的对话内容。请在分享、上传网盘或放到公开仓库之前,先确认里面没有隐私信息。

The file picker does not upload your files to the internet. The browser reads local files from your computer, and the JavaScript inside this HTML file performs the conversion locally.

Your backups are not sent to the author, a server, or a database. You can use the tool offline, or check the browser's Network panel to verify this yourself.

The generated HTML archive may still contain private conversation content. Please review it before sharing, uploading, or publishing it anywhere.

问题反馈 / Feedback

如果遇到问题,或者某种备份格式解析失败,可以发邮件反馈:baomohan@foxmail.com

For questions or bug reports, contact: baomohan@foxmail.com

About

A local HTML converter for AI conversation backups.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages