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

Frontmatter Cleaner

sharfarozsharfaroz30 downloads

View the current file's frontmatter properties in a tap-friendly modal and delete the ones you select.

Add to Obsidian
Frontmatter Cleaner screenshot
  • Overview
  • Scorecard
  • Updates2

Quickly review and remove frontmatter (YAML) properties from the note you're currently viewing — without opening the YAML block and editing it by hand.

Why

Notes accumulate stray frontmatter properties over time: leftovers from templates, one-off experiments, or fields you no longer use. Frontmatter Cleaner gives you a single tap-friendly list of the current note's properties so you can pick the ones to remove and delete them in one action.

Usage

  1. Open the note you want to clean up.
  2. Run Clean frontmatter properties of current file from the command palette, or click the list-checks icon in the ribbon.
  3. A modal lists every property in that note's frontmatter, with its current value shown alongside it.
  4. Tap or click anywhere on a row — not just the checkbox — to select it for deletion. Selected rows are highlighted.
  5. Use the toolbar above the list to select faster: Select all, Select none, or Empty (n) — which catches blank strings, null, and empty lists/objects. The Empty button is disabled when there's nothing of that kind to select.
  6. Select Delete selected (n) to remove those properties from the note's frontmatter, or Cancel to close without changes.

Selection and deletion work the same way on desktop and mobile; rows use a 44px minimum touch target so they're easy to tap accurately on iPhone.

Notes

  • Deleting properties uses Obsidian's own processFrontMatter API, so the rest of the frontmatter block keeps its existing formatting and order.
  • If a note has no frontmatter, the modal tells you instead of showing an empty list.

Development

npm install
npm run dev    # watches main.ts and rebuilds main.js on change
npm run build  # production build

To test locally, copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/frontmatter-cleaner/ in a development vault, then enable the plugin from Settings → Community plugins.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Review and remove properties from the current note without opening the frontmatter block. View a tap-friendly list showing each property's value, select rows to delete in bulk, and preserve the remaining frontmatter's formatting and order. There are plugins that help you clean up the entire vault and you can do some cleaning from the "show all properties" default option as well. But that becomes an entire task of its own and if you have accumulated hundreds of property names across your vault, this can cause a lot of decision fatigue and planning to run the right rule without adversely impacting any note. So thats where my plugin comes in handy, it is a quick fix of your active file so that you can return to your actual plan for the note without getting side tracked by bulk cleaning.
PropertiesEditing
Details
Current version
1.1.0
Last updated
2 weeks ago
Created
3 weeks ago
Updates
2 releases
Downloads
30
Compatible with
Obsidian 1.4.4+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
sharfarozsharfaroz
GitHubsharfaroz7
  1. Community
  2. Plugins
  3. Properties
  4. Frontmatter Cleaner

Related plugins

Meta Bind

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

MetaEdit

Manage your metadata.

Fold Properties By Default

Always have editor/metadata properties folded by default

Advanced Tables

Improved table navigation, formatting, and manipulation.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Outliner

Work with your lists like in Workflowy or Roam Research.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

Creases

Tools for effectively folding Markdown sections.

LanguageTool Integration

advanced spell/grammar checks with the help of language-tool.

Various Complements

Complete words similar to auto-completion in an IDE.