powered by notion-to-md v4
Notion Convert Playground is a simple tool that provides a seamless interface for converting Notion pages to various formats (MD, MDX, JSX, HTML, etc...) while maintaining the structure, formatting, and content hierarchy.
Under development
- Node.js 18.x
- npm or yarn
- Clone the repository:
git clone https://github.com/your-username/notion-converter-playground.git
cd notion-converter-playground
- Install dependencies:
npm install
# or
yarn
- Create a
.env.local
file in the root directory and add your environment variables:
# Notion API
NOTION_CLIENT_ID=your_notion_client_id
NOTION_CLIENT_SECRET=your_notion_client_secret
NOTION_REDIRECT_URI=http://localhost:3000/api/auth/callback/notion
# Authentication (NextAuth)
NEXTAUTH_SECRET=your_nextauth_secret
NEXTAUTH_URL=http://localhost:3000
# Optional: Analytics
NEXT_PUBLIC_ANALYTICS_ID=your_analytics_id
- Run the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000/playground in your browser.
-
Connect to your Notion workspace:
- Sign in with your account (Google/GitHub) and authorize the Notion integration
- OR enter your Notion integration key directly
-
Select a page from your workspace or enter a page ID
-
Choose your desired output format
-
Click "Convert" to generate your content
-
Use the action buttons to download, copy, or share your converted content
If you prefer to use an integration key instead of signing in:
- Go to notion.so/my-integrations
- Click "New integration"
- Name your integration and submit
- Copy the "Internal Integration Token"
- Share the specific Notion pages you want to access with your integration
We welcome contributions to improve Notion Converter Playground! Please follow these steps to contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/amazing-feature
) - Make your changes
- Run tests to ensure everything works as expected
- Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Follow the existing code style and component structure
- Write meaningful commit messages
- Add appropriate comments for complex logic
- Update documentation for significant changes
- Important: Try to use SSR as and when possible
For support or feedback, please open an issue
Built with ❤️ for Notion users everywhere