Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

KV Store

darren-projectdarren-project908 downloads

Adds a key-value store. Use it to store and retrieve key-value pairs in your vault.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

This plugin adds a key-value store to Obsidian, allowing you to store and retrieve key-value pairs in your vault.

Installation

  1. Open Obsidian.
  2. Go to Settings > Third-party plugin.
  3. Make sure Safe mode is off.
  4. Click Browse and search for "KV Store".
  5. Click Install.
  6. Once installed, toggle the switch to enable the plugin.

Usage

Once the plugin is installed and enabled, you can access the key-value store from the settings page.

  1. Go to Settings > KV Store.
  2. Here, you will see a textarea where you can view, add, modify, or delete your key-value data.

The data should be in JSON format, like this:

{
    "key1": "value1",
    "key2": "value2",
    "key3": "value3"
}

To add a new key-value pair, simply add a new line with your key and value, like this:

{
    "key1": "value1",
    "key2": "value2",
    "key3": "value3",
    "key4": "value4"
}

To modify a value, change the value next to the key, like this:

{
    "key1": "value1",
    "key2": "value2",
    "key3": "new value"
}

To delete a key-value pair, remove the line with the key and value, like this:

{
    "key1": "value1",
    "key2": "value2"
}

After making changes, the plugin will automatically save your data. If your data is not valid JSON, the plugin will show an error message.

JS Docs

kv.set(name: string, value: any, position: number)

// Position is from 0 to the last item number -1
// If your object has 7 keys, the last item number is 6
// Maximum limit is last object

kv.get(name: string)

kv.delete(name: string)

kv.has(name: string)

kv.keys()

kv.values()

kv.entries()

Support

If you encounter any issues or have any questions about this plugin, please open an issue on the GitHub repository.

License

This plugin is licensed under the Apache License. See the LICENSE file for more information.

HealthGood
ReviewCaution
About
Store and retrieve key-value pairs in your vault using a JSON-based store. Edit data directly in a Settings textarea with automatic JSON validation and saving. Access the store programmatically via kv.set, kv.get, kv.delete, kv.has, kv.keys, kv.values and kv.entries.
DataJSONDevelopers
Details
Current version
1.2.0
Last updated
2 years ago
Created
3 years ago
Updates
10 releases
Downloads
908
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
Apache-2.0
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
darren-projectdarren-project
github.com/Darren-project
GitHubdarren-project
  1. Community
  2. Plugins
  3. Data
  4. KV Store

Related plugins

API Designer

Design and document API endpoints visually without leaving your notes.

JSON Editor

View and edit JSON files with a Tree/Source toggle. Renders JSON code blocks in Markdown notes.

BRAT

Easily install a beta version of a plugin for testing.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Git

Integrate Git version control with automatic backup and other advanced features.

Hot Reload

Automatically reload in-development plugins when their files are changed

Tracker

Track occurrences and numbers in your notes.

Datacore

An even faster reactive query engine for the data obsessed.

Meld Encrypt

Hide secrets in your notes.