Share as ZIP is an Obsidian plugin that allows you to share notes and their linked notes as a zip folder. This is particularly useful for exporting a note and all its related content for sharing or backup purposes.
- Recursive Note Collection: Automatically collects the current note and all linked notes
- Binary File Support: Properly handles PDFs, images, and other binary files
- Smart Exclusion System: Configure what to exclude from your exports:
- Frontmatter-based: Exclude notes with
private: trueetc. - Header-based: Skip content under specific headers when scanning for links
- Folder-based: Exclude entire directories and subdirectories
- File-based: Exclude specific files with wildcard support (e.g.,
*.tmp)
- Frontmatter-based: Exclude notes with
- ZIP Compression: Compresses the collected notes into a single zip file
- Save As Dialog: Prompts a save dialog to choose the location for the zip file
- Open Obsidian Settings
- Go to Community Plugins and disable Safe Mode
- Click Browse and search for "Share as ZIP"
- Install the plugin and enable it
- Download the latest release from the GitHub releases page
- Extract the files to your vault's
.obsidian/plugins/share-as-zip/folder - Reload Obsidian and enable the plugin in Community Plugins settings
- Open a note in Obsidian
- Use the command palette (Ctrl/Cmd + P) and search for "Share note as ZIP"
- The plugin will collect the note and all linked notes, compress them into a zip file, and prompt you to save it
Go to Settings → Share as ZIP to configure exclusion rules:
- Excluded Frontmatter Keys: Notes with these properties set to
truewill be skipped (e.g.,private, draft, secure) - Excluded Headers: Content under headers containing these texts won't be scanned for links (e.g.,
Task Management, Daily Review) - Excluded Folders: Entire directories to exclude (e.g.,
Templates, Archive, .trash) - Excluded Files: Specific files to exclude with wildcard support (e.g.,
*.tmp, passwords.md)
Frontmatter exclusion:
---
private: true
draft: true
---Header exclusion: Content under ## Task Management will be ignored when scanning for links.
File patterns: *.tmp, *private*, passwords.md
Contributions are welcome! If you have suggestions or improvements, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.