Ilya Kazakov4k downloadsKeep selected Markdown notes in Reading view using include and exclude path rules.
Keep your Markdown notes in Obsidian Reading view and prevent accidental edits, across your whole vault or only where you choose.
Get started: configure Include and Exclude rules in settings to keep selected notes in Reading view. Install, then protect a folder.
Read Only View 1.1.3+ includes Lock/Unlock, Explain read-only status, and optional File Explorer protection indicators.
Desktop and mobile · Obsidian 1.10.3+ · 0BSD license
Privacy: No network requests; all rule matching stays local. Imported system paths are stored as portable vault-relative paths, without the original absolute path.
Full documentation · Reading view vs read-only protection · Report an issue

Keep reference notes, documentation, dashboards, and archives in Reading view without accidentally opening the editor.
Pending Reading view switches are canceled if you navigate to another note, disable protection, exclude the note, close its view, or unload the plugin before the switch is applied.
In Obsidian, open Settings → Community plugins → Browse, search for Read Only View, then select Install → Enable.
To try unreleased builds:
https://github.com/mrKazzila/Read-Only-View.Download main.js, manifest.json, and styles.css (when provided) from a release. Copy them into:
<Vault>/.obsidian/plugins/read-only-view/
Restart Obsidian or reload plugins, then enable Read Only View.
The shortcut creates or enables an Include rule. Folder locks cover Markdown notes in subfolders too; enabled Excludes still win. Choose Unlock to disable the target’s Include rules. Another rule or All Markdown files may keep it protected.
See Lock and Unlock notes and folders for steps and editable exceptions.
Open Settings → Read Only View, keep Enabled on, and select All Markdown files. This is the default on a new installation. Add an Exclude rule for any note or folder that should remain editable.

Type: Include
Value: Notes/Summaries/
Unresolved or overlength rules do not apply or consume rule limits. Disabled rules keep their place and can be enabled later. Note protection, the Path tester, and Explorer indicators use the same valid, enabled rules.
Exclude rules take priority over Include rules. See the full matching guide for advanced settings.
Advanced → Show protection indicators optionally adds small locks beside protected Markdown notes and folders in the File Explorer. It is off by default, visual only, and uses the same effective protection rules, including exclusions and the global Enabled switch.
Use Only matched paths for these examples. Folder examples use the default path-prefix matching.
Type: Include
Value: Archive/
Type: Include
Value: Notes/Summaries/
Type: Exclude
Value: Notes/Summaries/Drafts/
Add an Include rule and paste the note's Obsidian URL into Value. For an existing Reference/Handbook.md note in a vault named MyVault:
Type: Include
Value: obsidian://open?vault=MyVault&file=Reference%2FHandbook.md
Use your own note's URL to protect exactly that note. You can also right-click a Markdown note or folder in the file explorer and choose Lock → Reading. See Lock and Unlock for exceptions and how to undo a lock.
/ for folder rules.In All Markdown files, saved Include rules are retained but inactive. In Only matched paths, notes without a matching enabled Include remain editable.
Glob matching uses a bounded polynomial-time algorithm so repeated wildcards cannot trigger exponential backtracking. Existing pattern semantics and rule limits are unchanged.
For glob patterns, case sensitivity, imported paths, and edge cases, see Path rules.
Use Path tester in the plugin settings to see whether a note is protected and which rule caused the result. Paste a note path such as Notes/Summaries/Meeting.md; it shows the resolved path, matching rules, and final Read-only or Editable status.

You can also right-click a note or folder and choose Explain read-only status to open the Read only view dialog. For a folder, it summarizes protection across its Markdown notes. See the diagnostics guide for details.
Available from Obsidian's Command Palette:
Enable read-only modeDisable read-only modeToggle read-only modeRe-apply rules nowEnable appears while protection is off; Disable appears while it is on. Use Re-apply rules now to apply the current configuration immediately to open Markdown notes.
If the issue persists, report it with your Obsidian version, plugin version, platform, and a small example rule set. Avoid sharing private paths or note content.
See CONTRIBUTING.md for source builds, local development, desktop/mobile testing, and documentation maintenance. Project activity is available in the Star History dashboard and Download History dashboard.
Licensed under 0BSD.