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

Data Editor

Brian SunterBrian Sunter4 downloads

Explore and edit JSON and YAML in a tree, compare it with the source, and validate files against local schemas.

Add to Obsidian
Data Editor screenshot
Data Editor screenshot
  • Overview
  • Scorecard
  • Updates4

Open a JSON or YAML file as an editable tree. Expand a long list, find a value by path, or switch to Split to see how a tree edit changes the source. YAML comments and anchors are preserved for supported edits.

A coffee recipe in split view, with its editable YAML tree and source side by side

Try it

  1. Open a .json, .yaml, or .yml file in your vault.
  2. Expand an object or array and select a row. Double-click a scalar value to edit it.
  3. Select Split to compare the tree and source. Save now writes the document immediately. Auto-save is enabled by default.

Files and optional validation schemas stay in your vault. The plugin works offline.

Install

Requires Obsidian 1.1.0 or later.

Open Settings → Community plugins → Browse, search for Data Editor, then choose Install and Enable. View the directory listing.

For a manual installation:

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Place all three files in .obsidian/plugins/data-editor/ inside your vault.
  3. Reload Obsidian, open Settings → Community plugins, and enable Data Editor.

Local schema validation

The optional schema validator interprets the JSON schemas you configure in your vault. Files and validation results stay local.

Features

Tree mode

  • Collapsible tree of nested objects, arrays, mappings, and sequences
  • Inline edit for scalar values (string, number, boolean, null) with type-aware inputs; editing a null cell auto-detects the typed value's type
  • Inline rename of object keys
  • Add property / add item (insert-before / insert-after exist at the adapter level but are not yet exposed in the UI)
  • Delete, duplicate, move up/down within a parent
  • Type conversion (string ↔ number ↔ boolean ↔ null ↔ object ↔ array) with a confirm prompt for lossy YAML changes
  • Use the arrow keys to browse, expand, and collapse rows. Home and End jump to the first and last visible rows. Large trees also have Previous rows and Next rows controls.
  • Select a row to show its editing actions. Select its type to convert the value.
  • Search keys, values, and paths. Enter and Shift+Enter move between matches, and Escape clears the search.
  • Copy node path as JSON Pointer
  • Undo / redo across tree edits
  • Empty-document landing card with one-click "Object / Array / String / Number / true / false / null" root creation

YAML

  • Comments, anchors, aliases, and tags shown as metadata badges on each row
  • Operations preserve comments and anchors when the underlying yaml AST supports it; potentially-lossy edits prompt for confirmation (toggleable in settings)
  • Multi-document files exposed as switchable document tabs; all documents are saved together so unedited documents are never dropped
  • YAML constructs that cannot be represented unambiguously by string/index tree paths (for example non-string keys, special collection tags, precision-unsafe numbers, or duplicate anchors) remain available unchanged in source mode

Source / split mode

  • CodeMirror 6 source editor with JSON / YAML syntax highlighting, bracket matching, fold gutters, and line numbers
  • Split mode shows the tree and source side by side, or stacks them when the Obsidian pane is narrow

Validation

  • JSON Schema validation using the local Draft 7 interpreter
  • Schemas mapped to file globs in the settings tab (pattern => path/to/schema.json); patterns use * (any chars except /) and ** (any chars)
  • Diagnostics surface inline on the affected row, in a diagnostics panel below the tree, and in the status bar
  • Vault-local only — no schemas are fetched over the network

File handling

  • Auto-save with configurable debounce (default 500 ms)
  • Manual Save now from the toolbar
  • Saving is blocked (both manual and auto) while the document has parse errors; override with the "Allow saving invalid source" advanced setting

A search for temperature highlights the matching property in the recipe tree

Settings

The settings tab exposes general (default mode, expansion depth, auto-save), JSON (indentation, sort keys on save, trailing newline), YAML (show anchors / aliases, confirm lossy operations), schema validation (enable, mapping table), and advanced (large-file threshold, allow saving invalid source) sections.

Development

bun install
bun run dev         # watch build (writes main.js to repo root)
bun run build       # source type-check + production bundle
bun run typecheck:tooling  # strict type-check for tests and Bun scripts
bun run lint
bun run test        # Bun unit and component tests
bun run test:coverage  # Bun test suite with coverage
bun run smoke       # adapter contract smoke tests
bun run validate:release  # validate release metadata and a built main.js
bun run check       # run the full local CI gate

The repo uses Bun for installs, scripts, unit tests, coverage, and the smoke harness. bun install resolves the CodeMirror peer-range conflict via the overrides block in package.json; if you have to fall back to npm, use npm install --legacy-peer-deps.

To iterate against a real vault, point the plugin at it once and then run the watch script:

echo "/path/to/vault/.obsidian/plugins/data-editor" > .dev-vault
bun run dev:vault   # rebuilds on .ts changes and syncs main.js / manifest.json / styles.css

.dev-vault is gitignored. The vault path can also be supplied via OBSIDIAN_VAULT_PLUGIN_DIR=... or as the first CLI arg. After a sync, reload the plugin in Obsidian (Settings → Community plugins → toggle Data Editor off / on, or press Cmd+R if Hot Reload is installed).

License

0BSD

Third-party license texts are included in the bundled dependency notices.

Portions derived from the Obsidian plugin template are copyright (C) 2020–2025 by Dynalist Inc. and distributed under the same 0BSD license.

HealthExcellent
ReviewPassed
About
Open a JSON or YAML file to browse nested objects and edit their values. Use Split to see the tree and source side by side. Search by key, value, or path and optionally validate files against schemas stored in the vault. Supported YAML edits retain comments, anchors, and aliases.
DataJSONEditing
Details
Current version
1.0.3
Last updated
8 hours ago
Created
7 months ago
Updates
4 releases
Downloads
4
Compatible with
Obsidian 1.1.0+
Platforms
Desktop, Mobile
License
0BSD
Report bugRequest featureReport plugin
Author
Brian SunterBrian Sunterbriansunter
GitHubbriansunter
  1. Community
  2. Plugins
  3. Data
  4. Data Editor

Related plugins

Datacore

An even faster reactive query engine for the data obsessed.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Emoji Toolbar

Quickly search for and insert emojis into your editor.

Text Format

Format selected text upper/lower/capitalize.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Force note view mode

Force the view mode for a note by using frontmatter: YAML block with 'obsidian_ui_mode' as key.

Underline

Add underline with shortcut.