Skip to main content

obsidian-to-appflowy

PyPI version Python License

Move your Obsidian vault into AppFlowy in one command.


A CLI tool for migrating Obsidian vaults into AppFlowy. It walks your vault, converts markdown to AppFlowy blocks, and uploads everything through the AppFlowy API — folders become nested pages, images get re-hosted, wikilinks become page links.

Built for one-time migrations. Your Obsidian files are never modified.

Before you start

  1. Python 3.11+ — pip install obsidian-to-appflowy
  2. An AppFlowy account on AppFlowy Cloud or your own deployment
  3. Your vault folder — the directory you opened in Obsidian

⚠️ Run --dry-run first to preview without touching anything.

What gets migrated

Obsidian AppFlowy
Folders Nested pages
Headings # ## … Heading blocks (levels 1–6)
Bullet and numbered lists (nested) List blocks with children
Blockquotes > Quote blocks
Fenced code blocks Code blocks with language
Horizontal rules --- Divider blocks
Markdown tables simple_table blocks
bold, italic, strike, code, ==highlight==, [links] Inline formatting
HTML inline tags <u>, <b>, <i>, <s>, <mark>, <a href>, <br> Mapped to AppFlowy formatting (underline / bold / italic / strikethrough / highlight / link / space)
Frontmatter --- ... --- Preserved as a YAML code block at the top
Wikilinks [[Note]] / [[Note|Alias]] Page links (clicking navigates to the page)
![[img.png]], ![alt](path) Uploaded image blocks
- [ ] / - [x] tasks Todo blocks (checked state preserved)

Try the example vault first

Not sure what to expect? Clone the repo and run try a dry-run on the included vault — it covers every supported block type (headings, lists, tables, code, images, wikilinks, tasks…):

git clone https://github.com/vsgusev/obsidian-to-appflowy
cd obsidian-to-appflowy
obsidian-to-appflowy --vault example_vault --dry-run

Or import it to AppFlowy to see the real result before touching your own notes:

obsidian-to-appflowy --vault example_vault --url https://cloud.appflowy.io --email you@example.com

Usage

Preview locally (no account needed):

# replace ~/Documents/MyVault with the absolute path to your vault
obsidian-to-appflowy --vault ~/Documents/MyVault --dry-run

Import to AppFlowy Cloud:

# for self-hosted, swap --url for your gateway, e.g. http://192.168.1.10:8800
obsidian-to-appflowy --vault ~/Documents/MyVault --url https://cloud.appflowy.io --email you@example.com

Password is prompted if not passed via --password or $APPFLOWY_PASSWORD.

Options

Flag Default
--vault PATH required Obsidian vault root
--url URL required for import AppFlowy API base URL
--email EMAIL $APPFLOWY_EMAIL Account email
--password PASS $APPFLOWY_PASSWORD / prompt Account password
--space NAME Obsidian Space name in AppFlowy
--space-color HEX #00BCF0 Space icon color
--skip-images off Text-only import, no uploads
--dry-run off Preview without API calls

Limitations

  • Tags — #tag stays as plain text
  • Callouts — > [!NOTE] becomes a plain quote block
  • Plugins — Dataview, Kanban, Excalidraw and other plugin syntax appear as plain text
  • HTML — only inline tags listed in the migration table are mapped; block-level HTML (<details>, <table>, <iframe>, etc.) and unsupported inline tags (<sup>, <sub>, <span>) keep their content but lose styling
  • Duplicate image filenames — if two images share a name, only one is used; a warning prints to stderr
  • Edge cases:
    • Duplicate page names — wikilinks resolve by filename stem, so [[Note]] is ambiguous if two Note.md exist in different folders (the first one wins)
    • [[Note#Section]] and [[Note^block]] link to the page itself; the section/block target is dropped
    • YAML frontmatter with a --- line inside a value may be only partially captured
    • Fenced code indented under a list bullet is not detected as a code block

Development

pip install -e ".[dev]"
pytest

Contributing

Open an issue before sending a PR. No AI-generated PRs.

License

MIT

Metadata

Release files for obsidian-to-appflowy 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for obsidian-to-appflowy 1.2.0
File Size Uploaded Provenance Actions
obsidian_to_appflowy-1.2.0.tar.gz 23.8 kB Without provenance Details for obsidian_to_appflowy-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for obsidian-to-appflowy 1.2.0
File Interpreter ABI Platform Actions
obsidian_to_appflowy-1.2.0-py3-none-any.whl Python 3 none any Details for obsidian_to_appflowy-1.2.0-py3-none-any.whl

Total release size: 48.0 kB

Release files / obsidian_to_appflowy-1.2.0.tar.gz

Download URL obsidian_to_appflowy-1.2.0.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
31a785f5290faafe368936feada77b6c8cafae5fffde5c743a1991df25b6000b
BLAKE2b-256 checksum
How to use checksums
a23bd1c3f630522f484dceb26f54a394cc63351257afc0017a479a2c7a642ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release files / obsidian_to_appflowy-1.2.0-py3-none-any.whl

Download URL obsidian_to_appflowy-1.2.0-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2780c972131a2f5ec114c07aca5bb5cc7e2c75e3f89af69042aec50db88481f6
BLAKE2b-256 checksum
How to use checksums
57d8ff02a36e8733680d9cc6973ed709c041fa6e62098cd0764248a6b8f64552
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Security for obsidian-to-appflowy 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page