NotionGitExport
Zero-Dependency Python CLI for Notion Power Users

Stop fighting Notion exports.
Ship clean, UUID-free Markdown to Git.

Notion appends 32-character UUID hashes to every exported file and breaks internal links. NotionGitExport strips UUIDs, rewrites relative paths, and converts Notion metadata into clean YAML frontmatter in one command.

Raw Notion Export

  • • Filenames polluted with 32-char hashes like Spec a1b2c3...0123.md
  • • Broken relative links and spaces encoded as %20
  • • Plain text properties instead of Astro/Hugo/Obsidian YAML frontmatter

With NotionGitExport

  • • Deterministic slugified filenames and clean folder trees
  • • Automatic internal Markdown link & image path rewriting
  • • Zero-dependency Python 3 CLI—runs locally or in GitHub Actions

Clean your export in 30 seconds

STEP 1

Export from Notion

Download your Notion Markdown & CSV export and unzip it locally.

STEP 2

Run the CLI

Execute python3 src/cli.py --input ./notion --output ./docs.

STEP 3

Activate Pro Key

Run --activate YOUR_KEY for unlimited recursive trees & YAML frontmatter.

Simple, one-time pricing

Free Starter

€0

Great for testing small folders and docs.

  • ✓ Clean up to 10 Markdown files per run
  • ✓ Strip 32-char UUIDs & rewrite relative links
Download Free CLI

Pro License

€24 once

Delivered instantly via Stripe license key.

  • ✓ Unlimited recursive Notion workspace trees
  • ✓ Automatic YAML frontmatter from Notion metadata
  • ✓ Asset/image path cleanup & 7-day offline cache
Buy Pro License Key

FAQ

Does it require pip packages or Node.js?

No. It uses Python 3 standard library modules only, so it runs anywhere with zero dependency conflicts.

Does it work offline in CI?

Yes. Once activated with Stripe, your license caches locally with a 7-day offline grace window.

Support & Contact

Operated by Stijn Dom (@domstijn).

Email: dom.stijn99@gmail.com

Issues: GitHub Support Tracker

14-Day Refund Policy

All Pro licenses include a 14-day no-questions-asked refund guarantee. Email dom.stijn99@gmail.com with your order ID for a full refund.

Terms & Privacy

All tools run locally in your browser, CLI, or editor. Zero PRDs, source code, or API keys are transmitted to third-party servers. Payments are processed securely by Stripe.