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

Vault Lens

suzhansuzhan2k downloads

Preview docx/xlsx/pptx and 60+ code files (sql/java/py/js/ts/…). Zoom, edit & save, line numbers, XLSX tabs.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates17

A plugin for Obsidian that previews docx / xlsx / pptx / code files directly in the editor. Supports syntax highlighting, zoom, inline editing, line numbers, and sheet tabs.

Features

📄 Office Files

Type Capabilities
DOCX Headings, tables, images, page-break separators, centered/right-aligned text
XLSX Font color/size/bold, cell fill colors, merged cells, column widths
PPTX Visual rendering with backgrounds, shapes, and text positioning — PDF-like output

💻 Code & Text Files

60+ developer file formats supported with preview and inline editing:

.txt .sql .java .py .js .ts .jsx .tsx .json .xml .yaml .yml .properties .cfg .ini .sh .bat .cmd .ps1 .css .html .htm .rst .tex .php .rb .go .rs .c .cpp .h .hpp .cs .swift .kt .scala .groovy .pl .pm .lua .r .m .mm .gradle .toml .conf .env .makefile .dockerfile .gitignore .vue .sass .scss .less .styl .coffee .dart .erl .ex .exs

Syntax highlighting (highlight.js) · Line numbers · Edit & save · Ctrl+S shortcut · Zoom 25%–200%

🔍 Common

  • Zoom — Toolbar +/− buttons or Ctrl+scroll, reset to 1:1
  • Pan — Drag to pan when zoomed in
  • Edit — Click ✏️ Edit on any code file, modify with full textarea (line numbers, Tab support, Ctrl+A), then 💾 Save
  • Syntax highlighting — 190+ languages supported via highlight.js, auto-detects file type
  • Sheet tabs — Switch between XLSX sheets with tab headers

Installation

Community Plugin Store (pending review)

Open Obsidian → Settings → Community plugins → Search Vault Lens → Install.

Manual

  1. Download the latest release from Releases
  2. Copy main.js, manifest.json, styles.css into .obsidian/plugins/vault-lens/
  3. Enable it in Obsidian settings

Development

git clone https://github.com/leo-su-zhan/obsidian-vault-lens.git
cd obsidian-vault-lens
npm install
npm run dev      # watch mode
npm run build    # production build

License

MIT

HealthExcellent
ReviewCaution
About
Preview DOCX, XLSX, PPTX and 60+ code/text file types directly inside Obsidian, preserving layout, images, tables and spreadsheet formatting. Zoom and pan documents, edit text/code with line numbers and save changes, and switch sheets for multi-sheet Excel files.
FilesFormatsEditing
Details
Current version
1.3.0
Last updated
2 weeks ago
Created
2 months ago
Updates
17 releases
Downloads
2k
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
suzhansuzhanleo-su-zhan
GitHubleo-su-zhan
  1. Community
  2. Plugins
  3. Files
  4. Vault Lens

Related plugins

Remember cursor position

Remember cursor and scroll position for each note.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Note Refactor

Extract note content into new notes and split notes.

Code Space

Professional code file management with visual dashboard, syntax highlighting editor, and Markdown embedding.

AI Agent

Lend your vault to an AI agent. It can read, write, and search your notes.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Claudian

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

Advanced URI

Control everything with URI.