Skip to content
AddHunt
Notion integrations

Notion Downloader

CLI that exports Notion pages and databases to Markdown

Open source

  • Open source

In short

Notion Downloader is a command-line tool that downloads Notion pages, databases and their files as Markdown and assets, and keeps the local copy in sync. It is for developers and writers who want their Notion content in plain files for backups, static sites or other tools.

What you get

  • Exports Notion pages and databases to Markdown
  • Downloads images, videos, PDFs, audio and other files
  • Configurable directory structure and file names
  • Automatic sync of changes from Notion
  • Caching options for faster runs

The details

Notion Downloader copies content out of a Notion workspace and turns it into local files. Pages and databases are converted to Markdown, and attached media such as images, videos, PDFs and audio files are downloaded alongside them. Setup starts with a single npx command that initializes the project.

Keeping files current

Instead of a one-off export, the tool can sync changes from Notion automatically, so the local folder follows edits made in the workspace. Caching options help avoid repeating work on later runs, and the output can be shaped to fit its destination: both the directory structure and the file naming are configurable.

Who it suits

The tool fits anyone who writes in Notion but needs the content somewhere else, for example to publish through a static site generator, keep a Markdown backup, or move notes into a file-based editor. Documentation on the site explains configuration and usage, and links to the project on GitHub and Twitter are provided.

Notion Downloader is built by Francisco Moretti, and its source code is published on GitHub.

Alternatives to Notion Downloader

All alternatives

Questions

What does Notion Downloader produce?

Markdown files for pages and databases, plus downloaded images, videos, PDFs, audio and other attached files.

Can it keep an export up to date?

Yes. It can sync changes from Notion automatically, with caching options to speed up repeated runs.

More like this