How Dnote Stores Notes and Whether You Can Access the Data Directly
Updated
Dnote stores all of your notes in a single SQLite file, and yes — you can access that data directly. The site describes the format as "one file contains everything," which means you can back it up to any storage, query it with standard tools, or migrate it easily. Because SQLite is a widely supported open format rather than a proprietary database, your notes aren't locked inside the application. The same page notes Dnote is free and open source, so you can also inspect the code that reads and writes the file.
What "one SQLite file" actually means
Instead of spreading notes across a hidden cache, a cloud account, or a set of binary blobs, Dnote keeps the whole notebook in one database file on disk. In practice this gives you three properties:
- Portability — copying one file moves your entire notebook.
- Backup simplicity — any backup tool that handles files handles Dnote.
- No lock-in — the data outlives the app; you can read it without Dnote installed.
This is the mechanism behind the site's claim that "your knowledge belongs to you." It's a storage decision, not just a marketing line: the file is the notebook.
Accessing the data directly
Because the store is standard SQLite, direct access doesn't require Dnote at all. The general workflow looks like this:
- Locate the database file on your machine (Dnote's own documentation covers the default path for your platform).
- Open it with any SQLite client — the
sqlite3command-line tool, a GUI browser, or a library in your language of choice. - Query the tables with ordinary SQL to read, count, or export notes.
- Copy the file to back it up, or move it to another machine.
The expected result is that you see your notes as rows in a normal database, not as an opaque format. Two caveats worth planning around:
- Back up before writing. If you modify the file with external tools while Dnote is running, you can create conflicts. Read-only queries are the safe default.
- Schema is an implementation detail. The table layout can change between versions, so scripts that depend on exact column names may need updating after an upgrade.
Sync, the server, and where the file lives
Dnote works as a local command-line notebook first. If you want the same notes on multiple devices, you can optionally run the self-hosted server, which the site describes as a single binary with SQLite and "no database setup required," deployable with Docker or run directly. The server provides multi-device sync and REST API access, so you can build integrations or reach your notes from any HTTP client.
That gives you two distinct access paths:
| Access method | What you need | Best for |
|---|---|---|
| Direct file access | The SQLite file and any SQLite tool | Backups, exports, offline analysis, migration |
| REST API | A running Dnote server | Integrations, cross-device access, HTTP clients |
Both routes keep the data in a form you control. The file route is the more fundamental one — the server is built on the same SQLite foundation.
Why this matters when choosing a notes tool
The practical question behind "can I access the data directly?" is usually about exit cost. With Dnote, leaving means copying a file and reading it with tools that will still exist in ten years. That's a meaningfully different situation from a service where your notes live only behind a login and an export button.
If direct, self-managed access to your notes is a requirement, Dnote's SQLite storage satisfies it by design. If you'd rather never touch a file or a database, the same design offers less convenience than a fully hosted app — the trade-off is control versus hands-off simplicity.