Open-source, local-first markdown editor and knowledge base that Claude, Codex, and Cursor can read and write directly.
SiYuan
What is SiYuan?
Open-source, local-first note-taking and knowledge base with block references, databases, flashcards, AI writing help and end-to-end encrypted sync.
- Pricing
- Freemium
- Free plan
- Yes
- Category
- Business & Productivity
- Made by
- B3log
- Updated
SiYuan screenshots
SiYuan features & details
SiYuan is a personal knowledge management app built around one idea: everything is a content block. Paragraphs, headings, list items and whole documents are all blocks that can be referenced, embedded, zoomed into and linked in both directions, so notes can be organised at a much finer grain than page-level wikis allow. It is open source (AGPL-3.0), developed since 2020, and keeps your data on your own device; it works fully offline.
What you get
- Block-style Markdown WYSIWYG editor with 20+ block types, list outlines with folding, block zoom-in, maths, charts, flowcharts, Gantt charts and staves, and smooth editing of documents with millions of words.
- Bidirectional links and backlinks at block level, a backlink panel with mention search, and global and block-focused relationship graphs.
- Databases with table views, relations, rollups and templates, plus SQL query embeds and custom attributes.
- Flashcards with FSRS spaced repetition, for turning notes into study material.
- AI assistance through the OpenAI API (bring your own key): continue writing, translate, summarise, brainstorm, fix grammar and spelling, and ask questions in chat.
- Research tools: web clipping, PDF annotation linked back into notes and Tesseract OCR.
- Export to standard Markdown with assets, PDF, Word and HTML; an HTTP API, a
siyuan://protocol, JavaScript/CSS snippets and a community marketplace of themes, plugins and widgets.
Platforms and pricing
Desktop apps for Windows, macOS and Linux, mobile apps for Android, iOS and HarmonyOS, and a Docker image for running your own server. Local use is free, including commercial use. A one-time PRO licence adds end-to-end encrypted sync and backup through your own S3 or WebDAV storage, and the subscription adds 8 GB of official cloud storage with official sync, cloud asset hosting and a cloud inbox.
A strong fit for people who want an Obsidian- or Logseq-style local knowledge base with finer-grained block linking, built-in databases and flashcards, and who do not want their notes on someone else's server.
No reviews yet — sign in to write the first one
Apps similar to SiYuan
The closest matches are OpenKnowledge and Reflect. See every SiYuan alternative compared by price and free plan.
Open-source, MIT-licensed note-taking app with daily notes, backlinks and local Markdown files, plus optional AI using your own API key.
An open-source work journal that records your day on-device and drafts the status update for you — nothing leaves the machine until you approve a worklog.
A native macOS notes app that parks notes along your screen edge and keeps an AI agent inside them, encrypted on-device.
An all-in-one private AI workspace: chat with your documents, run agents, and keep everything on your device.