# siyuan

> siyuan is an open-source AI tool for knowledge and memory. Local-first, privacy-focused note-taking app with block references and encrypted sync. It is available on Web, macOS, Windows, Linux, iOS, Android and self-hosted.

- **Kind:** Tool
- **Pricing:** Open source
- **Platforms:** Web, macOS, Windows, Linux, iOS, Android, self-hosted
- **Website:** https://b3log.org/siyuan
- **Repository:** https://github.com/siyuan-note/siyuan
- **GitHub stars:** 47,264
- **License:** AGPL-3.0
- **Categories:** knowledge and memory, productivity
- **Listing updated:** 2026-11-14

## About

SiYuan treats the block as the basic unit: documents, headings and list items are all blocks, and blocks can be referenced, converted, split and moved without breaking existing links. It ships over twenty block types and ten inline types, with widget blocks for extension.

Other built-ins include backlinks and a graph view, databases with relations, rollups and templates, spaced repetition using the FSRS algorithm, and OpenAI integration for continuing text, translating, summarising and brainstorming.

Data is stored on your own device and works offline. Multi-device sync uses end-to-end encryption with incremental transfer, and the app can be deployed on a server with Docker behind a lock-screen password. The code is AGPL-3.0 and the site is mainly in Chinese.

## Features

- **Block-level references:** Link and embed any block.
- **Backlinks and graph:** Discover connections between notes.
- **Databases:** Relations, rollups and templates.
- **Spaced repetition:** Review with the FSRS algorithm.
- **Encrypted sync:** End-to-end encrypted multi-device sync.
- **AI assistance:** Use OpenAI for drafting and summaries.
- **Docker hosting:** Run it on your own server.

## Good for

- Build a personal knowledge base
- Keep private notes offline
- Review study material with flashcards
- Self-host shared notes

## FAQ

### Where is data stored?

On the user's own device.

### Is it open source?

Yes, AGPL-3.0.

### Can I self-host it?

Yes, via Docker, with a lock-screen password.

### Does sync encrypt data?

Yes, end-to-end.

### Is siyuan free?

Yes. siyuan is open source, so you can use and self-host it for free.

### What are the best alternatives to siyuan?

The closest alternatives to siyuan are Praxy AI, ChatPDF, ChatDOC, MajorGen and to teach.

## Alternatives

- [Praxy AI](https://ai-powered.com/tools/praxy_ai): Praxy AI is an AI tool for productivity.
- [ChatPDF](https://ai-powered.com/tools/chatpdf): ChatPDF is a free AI tool for productivity.
- [ChatDOC](https://ai-powered.com/tools/chatdoc): ChatDOC is a free AI tool for productivity.
- [MajorGen](https://ai-powered.com/tools/majorgen): MajorGen is a paid AI tool for productivity.
- [to teach](https://ai-powered.com/tools/to_teach): to teach is a freemium AI tool for productivity.
- [Paraphrasing Tool](https://ai-powered.com/tools/paraphrasing_tool): Paraphrasing Tool is a freemium AI tool for productivity.
- [Ajelix](https://ai-powered.com/tools/ajelix): Ajelix is an AI tool for productivity.
- [Magick](https://ai-powered.com/tools/magick): Magick is an AI tool for productivity.

---
Source: https://ai-powered.com/tools/siyuan
