Home
Softono
notion-export-client

notion-export-client

Open source MIT JavaScript
155
Stars
22
Forks
4
Issues
0
Watchers
2 years
Last Commit

About notion-export-client

Notion Export Client is a backup utility designed to convert specified Notion pages and their nested sub-pages into local Markdown files. This one-way synchronization tool recursively downloads entire page hierarchies while preserving structure. It handles media assets by downloading images and files directly and updating internal links to point to these local resources. The generated output is compatible with offline Markdown editors such as Typora and Obsidian, allowing for offline editing and knowledge management. While the tool supports standard content, complex database fields may have limited conversion support, with database rows exporting to CSV format. Users should note that restored content cannot be pushed back into Notion. Media file naming follows a specific priority logic based on captions, original filenames, or unique IDs. Some text formatting within tables may not render perfectly in all editors, and CSV exports may require specific encoding settings to avoid character display issues in Excel

Platforms

Web Self-hosted

Languages

JavaScript

Links

notion-export-client

功能:

  • 将指定的notion页面和子页面备份为本地的markdown文件
    • 子页面递归下载
    • 图片下载和本地链接重定位

注意:

  • 备份的内容不能恢复到Notion中
  • 数据库某些高级字段不支持(可以但是没必要)
  • 离线目录可以自由编辑(Typora可以打开目录;Obsidian也可以打开,但是表格里的某些富文本可能无法渲染)
  • 数据库备份为csv格式时,使用Excel打开会乱码,百度搜索“Excel utf8乱码”解决
  • 备份的内容中图片和文件的命名优先级:Caption > (文件名称:图片没有解析名称) > id

使用说明: