Brian Sunter16 downloadsEdit CSV files in a spreadsheet grid, paste ranges of cells, and group rows into tabs.
Open a CSV from your vault, edit it like a spreadsheet, and save it back to the same file. Choose Tabs from column to turn a column such as region or project into sheet tabs. Sorting changes the view and keeps the row order on disk.

.csv file and double-click a cell to edit it.Requires Obsidian 1.13.0 or later.
Open Settings → Community plugins → Browse, search for CSV Sheet Editor, then choose Install and Enable. View the directory listing.
For a manual installation:
main.js, manifest.json, and styles.css from the latest release..obsidian/plugins/csv-editor/ inside your vault.
| Action | Shortcut |
|---|---|
| Move between cells | Arrow keys |
| Edit cell | Enter, F2, or start typing |
| Commit + move down | Enter |
| Commit + move up | Shift+Enter |
| Move to next/prev cell | Tab / Shift+Tab |
| Extend selection | Shift+Arrow keys |
| Copy selection | Cmd/Ctrl+C |
| Cut selection | Cmd/Ctrl+X |
| Paste at active cell | Cmd/Ctrl+V |
| Undo | Cmd/Ctrl+Z |
| Redo | Cmd/Ctrl+Shift+Z (or Cmd/Ctrl+Y) |
Tab wraps to the next row at the end of a row; Shift+Tab wraps to the previous row at the start.
| Setting | Default | Description |
|---|---|---|
| Delimiter | Auto-detect |
Field separator. Auto-detect sniffs the file (falls back to comma), or pick comma, semicolon, tab, or pipe. |
| First row is header | on |
Treat the first row as column names. Turn off for headerless files so no data row is consumed as a header. |
| Auto-save | on |
Automatically save edits back to the file. |
| Auto-save delay | 300 ms |
Debounce delay for auto-save (100–2000 ms). |
| Column resizing | on |
Allow column widths to be resized by dragging. Mobile users may want to disable this. |
When auto-save is off, the toolbar Save button writes the current grid to disk on demand.
Select cells and use the system Copy, Cut, or Paste command. Obsidian supplies only the text from that clipboard event. If a save fails, the editor keeps a recovery draft in vault-specific storage.
If a save failed in 1.0.0 and the draft has not been recovered, install 1.0.2, reopen the affected CSV in its original vault, and save the recovered changes. You can then install the latest release. Version 1.0.3 and later read only vault-scoped recovery records.
CSVs are parsed and re-serialized with semantic round-trip guarantees. The detected delimiter, EOL style (LF, CRLF, or CR), trailing-newline presence, UTF-8 BOM, and jagged row widths are preserved when the data is unchanged. Serialization canonicalizes optional quotes around plain fields; fields containing the delimiter, double-quote, or newlines are quoted using RFC 4180 rules, with embedded quotes doubled.
The plugin preserves your column count: if some rows have fewer fields than the header, missing cells render as empty.
When First row is header is on (default), the first row is the header / column names. When it is off, every row is data, the grid shows generated column names ("Column N"), and the saved file omits the header line.
Run bun install --frozen-lockfile and bun run build to produce the plugin bundle. The grid uses react-data-grid. All file operations run locally in the vault.
src/
main.ts # Plugin entry — registers the view and settings tab
csvView.tsx # FileView that renders React into the leaf
CSVEditorApp.tsx # Main grid component (react-data-grid wrapper)
csvParser.ts # RFC 4180 parse / serialize + delimiter sniffing
clipboardUtils.ts # Range / TSV helpers for copy/paste
gridUtils.ts # Tab navigation, row rebuild, cell-position helpers
history.ts # Undo/redo snapshot stack (cap 100)
saveCoordinator.ts # Serializes onSave calls so the latest edit always wins
settings.ts # Settings tab + defaults
Build is esbuild-based (esbuild.config.mjs), bundling everything into a single main.js. Tooling uses Bun for install / scripts.
bun run test # default unit + component suite (vitest)
bun run test:unit # unit + component tests
bun run test:browser # browser suite (Chromium via Playwright)
bun run test:types # type-check test sources + vitest configs
bun run test:coverage # coverage gate
The parser, clipboard, grid, and history modules are covered by unit tests under tests/unit/; grid interactions are covered by component and browser tests under tests/component/ and tests/browser/. File-session integration tests exercise vault writes, conflicts, and draft recovery under tests/integration/. CI (.github/workflows/lint.yml) runs build, lint, types, unit/component tests, coverage, and the browser suite.
The manifest enables the plugin on mobile. Range selection and the context menu support a mouse and keyboard. Touch users can use the system editing menu when editing cell text. Touch-only editing and external clipboard behavior still need verification on iOS and Android.
0BSD — see LICENSE.
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.