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

Doc Preview

notenerdnotenerd161 downloads

Preview PowerPoint and Word documents inside Obsidian. Automatically refreshes when you, Claude, or another AI agent makes changes to the file, so your preview is always up to date. Renders via a local LibreOffice install (bring your own, or install one from Settings).

Add to Obsidian
  • Overview
  • Scorecard
  • Updates13

Preview PowerPoint, Word, and Excel files inside Obsidian — no need to open the real app.

Renders locally via a headless LibreOffice install (no window ever opens), through a custom in-app viewer rather than the browser's generic embedded PDF plugin. The preview auto-refreshes whenever the file changes on disk — including edits made by an external tool or an AI agent (e.g. Claude Code CLI editing the file directly) — and jumps to whichever slide/page actually changed.

Claude Code CLI edits a slide's title directly in the pptx file; the Doc Preview panel auto-refreshes and jumps to the updated slide

Features

  • Opens .pptx, .docx, and .xlsx files directly in an Obsidian tab instead of launching PowerPoint/Word/Excel
  • Rendered headless via LibreOffice — no window ever flashes on screen
  • Auto-refreshes on external file changes (debounced, so a mid-write save doesn't get converted half-finished)
  • Jumps to the page/slide that actually changed on refresh, not just back to page 1
  • Excel workbooks get sheet tabs, pulled from the PDF's own outline, so you can jump straight to a sheet — the page indicator also shows which sheet you're currently viewing. Sheets hidden in Excel stay hidden here too, matching what you'd actually see if you opened the file yourself
  • Custom PDF viewer: zoom in/out (including trackpad pinch-to-zoom), fit-to-page, rotate, space+drag panning when zoomed in, selectable/copyable text, a toggleable thumbnail rail, keyboard arrow-key navigation, and a download button
  • A fading page-number indicator (bottom-center), not a fixed toolbar element
  • Settings can install LibreOffice for you, to a folder of your choosing — it doesn't have to go into Applications / Program Files

Requirements

  • Desktop Obsidian only (this plugin is not available on mobile)
  • LibreOffice — if you don't already have it, install it from the plugin's settings tab

Installation

  1. Open Settings → Community plugins in Obsidian.
  2. Select Browse and search for Doc Preview.
  3. Select Install, then Enable.

Settings

  • Detected installation — shows the LibreOffice install currently in use (path + version), or "not found."
  • Install location — where to install LibreOffice if you use the Install button. Pick any folder you have write access to; browse via the native folder picker or type a path directly.
  • Install LibreOffice — downloads the current stable release from documentfoundation.org and installs it into the folder above.

How it works

  1. Clicking a .pptx/.docx/.xlsx file opens Doc Preview's own view instead of the OS default app (via registerExtensions).
  2. The file is converted to PDF with soffice --headless --convert-to pdf.
  3. The PDF is rendered with pdf.js onto a <canvas> — not the browser's built-in PDF viewer, which can't be restyled or have parts of its UI hidden.
  4. A vault filesystem watcher (vault.on("modify")) triggers a debounced re-conversion whenever the source file changes on disk, from any process — not just edits made through Obsidian itself.

Known limitations

  • LibreOffice is a real dependency (~300–500MB download) — there's no way around it for now. See the settings tab for an in-app install flow.
  • Each conversion spins up a fresh LibreOffice process (~15–20s). There's no persistent/warm LibreOffice listener yet, so refreshes aren't instant.
  • The "jump to changed page" heuristic compares extracted text per page, not pixels — a purely visual edit with no text change (e.g. only a fill color) won't be detected. It also won't guess if the total page count changed (inserted/deleted slides shift every later page's position), and just leaves the view where it was in that case.
  • Sheet tabs rely on LibreOffice's PDF export including a bookmark/outline entry per sheet, which it does by default. If a given workbook's export somehow lacks one, the file still previews fine — it just falls back to a plain page list with no sheet tabs.
  • Each sheet is exported as a single whole-sheet page (via LibreOffice's SinglePageSheets option) rather than tiled across print-sized pages, so a large sheet becomes one large page — you may need to zoom in to read a very dense sheet clearly. This option needs a reasonably recent LibreOffice (24.8+); older installs will silently fall back to the normal tiled/paginated export instead.
  • LibreOffice's headless PDF export includes hidden sheets even though its own GUI export doesn't — a known discrepancy, not something this plugin can fix on LibreOffice's side. Worked around by reading sheet visibility straight out of the .xlsx's own XML and filtering those pages back out, so they never reach the tab bar or page count.
  • The auto-installer's Windows (MSI, custom INSTALLLOCATION) and Linux (dpkg-deb -x extraction, no dependency resolution) paths are implemented per documented conventions but are less battle-tested than the macOS path.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Preview PowerPoint and Word files inside Obsidian using a headless LibreOffice renderer so the real app never opens. Auto-refresh previews on external edits and jump to the changed slide/page; use a built-in viewer with zoom, rotate, thumbnail rail, arrow-key navigation, and download — desktop only.
PDFFiles
Details
Current version
1.0.14
Last updated
2 weeks ago
Created
2 weeks ago
Updates
13 releases
Downloads
161
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
notenerdnotenerd
GitHubnotenerdofficial
  1. Community
  2. Plugins
  3. PDF
  4. Doc Preview

Related plugins

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Notebook Navigator

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

Advanced URI

Control everything with URI.

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.

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Recent Files

Display a list of recently opened files.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.

QuickAdd

Quickly add new notes or content to your vault.