Notion Markdown Exporter with Python Cli
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install notion2md
About Notion2Md
- Notion Markdown Exporter using official notion api by notion-sdk-py
Notion2Medium
- Check out Notion2Medium that publishes a Medium post from Notion using Notion2Md.
API Key(Token)
-
Before getting started, create an integration and find the token. → Learn more about authorization.
-
Then save your api key(token) as your os environment variable
-
From version 2.9.0, you can use
--tokenor-toption to set your token key.
$ export NOTION_TOKEN="{your integration token key}"
Install
$ pip install notion2md
Usage: Shell Command

-
Notion2md requires either
idorurlof the Notion page/block.
