File Title Updater

by wenlzhang
5
4
3
2
1
Score: 48/100

Description

Category: Note Enhancements

The File Title Updater plugin streamlines title management across different parts of an Obsidian note by keeping the filename, frontmatter title, and first-level heading in sync. It offers flexible commands that let users choose a preferred source of truth-whether that's the file name, metadata, or heading-and updates the other two accordingly. With built-in smart detection, the plugin avoids redundant operations if the titles are already aligned. It also handles formatting niceties, such as inserting appropriate spacing and cleaning up illegal characters in file names.

Reviews

No reviews yet.

Stats

21
stars
3,942
downloads
2
forks
415
days
40
days
40
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
10
total issues
4
open issues
6
closed issues
0
commits

Latest Version

a month ago

Changelog

Changes

  • feat: skip adding alias for default "Untitled" filenames
  • Thanks @philoserf for the contribution!

README file from

Github

File Title Updater

GitHub release (Latest by date) GitHub all releases

An Obsidian plugin that synchronizes titles between filename, frontmatter, and first heading in your notes. Works on individual files or entire folders with subfolders.

Features

This plugin helps maintain consistency between the three places where a note's title can appear:

  1. The filename
  2. The title field in the frontmatter
  3. The first level 1 heading (#) in the note

Individual File Commands

The plugin provides four commands for working with individual files:

  • Sync titles using default source: Uses the default source (configurable in settings) to update all other title locations
  • Sync titles using filename as source: Uses the filename to update frontmatter title and first heading
  • Sync titles using frontmatter as source: Uses the frontmatter title to update filename and first heading
  • Sync titles using first heading as source: Uses the first level 1 heading to update filename and frontmatter title

Bulk Folder Operations

[!WARNING] Since this bulk updating feature will operate on many files, there is no way to revert changes. Please use this feature with caution and ensure you back up your files before proceeding.

For efficient management of large note collections, you can also sync titles for entire folders:

  • Right-click on any folder in the file explorer to access bulk sync options
  • Sync titles in folder (default source): Updates all markdown files in the folder and subfolders using your default source
  • Sync titles in folder (from filename): Bulk updates using filenames as the source
  • Sync titles in folder (from frontmatter): Bulk updates using frontmatter titles as the source
  • Sync titles in folder (from heading): Bulk updates using first headings as the source

The bulk operations work recursively, processing all markdown files in the selected folder and any nested subfolders at any depth.

Smart Behavior

The plugin includes several intelligent features:

  • Customizable sync targets: Choose which title locations to sync (all three, or any pair of two)
  • Customizable frontmatter field: Use any frontmatter field name for the title instead of just "title"
  • Alias preservation: Optionally add old filename as an alias when renaming, preserving backlinks and link display text
  • Detects already synchronized titles: If all titles that should be synced are already the same, the plugin will notify you and skip unnecessary updates
  • Proper spacing: Ensures exactly one empty line between frontmatter and the first heading
  • Handles edge cases: Properly creates first headings when none exist and provides helpful error messages
  • Handles illegal characters: Automatically sanitizes titles when updating filenames to remove or replace characters that aren't allowed in filenames

Why use this plugin?

Having the same title in multiple places provides redundancy and makes your notes more accessible:

  • Consistent filenames make it easier to find notes in your file system
  • Frontmatter titles enable better metadata management and can be used with plugins like Dataview
  • First-level headings provide visual context when reading the note

You can now choose which of these title locations matter most to your workflow and selectively sync between them.

Documentation

📚 View Full Documentation

Visit the documentation site to learn how to make the most of File Title Updater in your Obsidian workflow.

Acknowledgments

This plugin has been enhanced with features inspired by community feedback and other excellent plugins. For example:

  • Alias Feature: Suggested in issue #6 by @ryanfp, this feature adds the old filename as an alias in frontmatter when renaming files, preserving backlinks and link display text. The implementation was inspired by the Smart Rename plugin by @mnaoumov.

Thank you to everyone who has contributed ideas and feedback to make this plugin better! 🙏

Support & Community

This plugin is a labor of love, developed and maintained during my free time after work and on weekends. A lot of thought, energy, and care goes into making it reliable, user-friendly, and aligned with PTKM principles.

If you find this plugin valuable in your daily workflow:

  • If it helps you update titles more effectively
  • If it saves you time and mental energy

Please consider supporting my work. Your support would mean the world to me and would help me dedicate more time and energy to:

  • Developing new features
  • Maintaining code quality
  • Providing support and documentation
  • Making the plugin even better for everyone

Ways to Support

You can support this project in several ways:

  • ⭐ Star the project on GitHub
  • 💝
  • Sponsor my work on GitHub
  • 💌 Share your success stories and feedback
  • 📢 Spread the word about the plugin
  • 🐛 Report issues to help improve the plugin

Thank you for being part of this journey! 🙏

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Binary File Manager
4 years ago by qawatake
An Obsidian plugin to manage binary files
Auto Card Link
4 years ago by Nekoshita Yuki
Media DB Plugin
4 years ago by Moritz Jung
A plugin that can query multiple APIs for movies, series, anime, games, music and wiki articles, and import them into your vault.
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Custom File Explorer sorting
4 years ago by SebastianMC
Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
Meta Bind Plugin
4 years ago by Moritz Jung
A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
Note aliases
3 years ago by Pulsovi
This plugin manages wikilinks aliases and save them on the aliases list of the linked note
April's Automatic Timelines
3 years ago by April Gras
Simple timeline generator plugin for story tellers using obsidian
Linked Data Vocabularies
3 years ago by kometenstaub
Add linked data to the YAML of your Obsidian notes.
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Bulk Exporter
3 years ago by symunona
Bulk export Markdown filtered, renamed and sorted by front matter metadata into a new structure.
Copy Metadata
3 years ago by wenlzhang
An Obsidian plugin to copy metadata to clipboard and insert it into file name.
Auto Tag
3 years ago by Control Alt
Easily generate relevant tags for your Obsidian notes.
Frontmatter generator
3 years ago by Hananoshika Yomaru
A plugin for Obsidian that generates frontmatter for notes
File Index
2 years ago by Steffo
Obsidian plugin to create a metadata file about the files present in the Vault
Time Things
2 years ago by Nick Winters
Show clock, track time spent editing a note, and track the last time a note has been edited.
Additional Icons
2 years ago by Matthew Turk
Add additional iconsets to Obsidian
Metadata Icon
2 years ago by Benature
change metadata entry icon
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
Watched-Metadata
2 years ago by Nail Ahmed
Watches for changes in metadata and updates the note content accordingly.
Image Metadata
2 years ago by alexeiskachykhin
Adds image metadata editing capabilities to Obsidian
Virus Total Enrichment
2 years ago by ytisf
An Obsidian plugin to enrich a note with VirusTotal API.
Onto Tracker
2 years ago by Jacob Hart
Plugin for obsidian allowing project management with ontologies.
Supercharged Links
5 years ago by mdelobelle
obsidian plugin to add attributes and context menu options to internal links
MetaEdit
5 years ago by Christian B. B. Houmann
MetaEdit for Obsidian
Metadata Extractor
5 years ago by kometenstaub
Obsidian Plugin that provides metadata export for use with third-party apps.
Update time on edit
5 years ago by beaussan
Metadata Auto Classifier
2 years ago by Beomsu Koh
AI-powered Obsidian plugin that automatically classifies and generates metadata (tags, frontmatter) for your notes.
ExMemo Assistant
a year ago by ExMemo AI
Using LLMs to manage files and generating metadata such as tags and summaries.
KoReader Highlight Importer
a year ago by Tahsin Kocaman
Imports highlights and metadata from KoReader into Obsidian notes
Frontmatter Markdown Links
a year ago by mnaoumov
Obsidian Plugin that adds support for markdown links in frontmatter
Boardgame Search
a year ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
Sentinel
a year ago by Giorgos Sarigiannidis
A plugin for Obsidian that allows you to update properties or run commands based on document visibility changes.
Current File Tags
a year ago by Trung Tran
Dataview Autocompletion
a year ago by Daniel Bauer
NetClip
a year ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Tag Tactician
a year ago by Scott Tomaszewski
Media Companion
a year ago by Nick de Bruin
Fold Properties By Default
a year ago by Tommy Bergeron
Always have editor/metadata properties folded by default.
LLM Tagger
a year ago by David Jayatillake
Paste Image Into Property
a year ago by Nito
My Thesaurus
a year ago by Mara-Li
A plugin that auto tags file based on contents and a csv file or a Markdown table (inspired by https://github.com/pmartinolli/MyThesaurus)
Content Cards
a year ago by leo
Insert content cards in Markdown, such as timeline, highlightblock, target card, book information card, music information card, movie information card, photoes ablum, business card, content subfield, countdown, SWOT,BCG.
AI Tagger Universe
a year ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
Note Favicon
a year ago by mdklab
Obsidian plugin – Show Favicon from Metadata
Kanban Status Updater
a year ago by Ankit Kapur
Obsidian plugin that automatically updates the note property when card is moved to a column.
Simple File Info
a year ago by Lukas Capkovic
Another Name
a year ago by Jiyuan Wang
Add a subheading to your note in Obsidian
GitHub Integration
a year ago by Kirill Zhuravlev
Plugin that fetch your github stars into notes
Note UID Generator
a year ago by Valentin Pelletier
Allow you to automatically generate UID for the notes in your vault.
Symbol linking
10 months ago by Evan Bonsignori ; Mara-Li
Adds ability to link with any trigger in Obsidian. Each trigger can limit linking to specific folders or file.
Frontmatter Metadata Link Classes
10 months ago by Varvara Zmeeva / zmeeva.io
Enhanced internal links with automatic classnames based on frontmatter metadata.
Discrete
9 months ago by shkarlsson
Papers
8 months ago by William Liang
An obsidian plugin to retrieve and import research papers.
Note Codes
8 months ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Pretty Properties
6 months ago by Anareaty
Book Clipper
5 months ago by Hossein Fardmohammadi
Save book details from websites into your notes
Conditional Properties
4 months ago by Diego Eis
Automate frontmatter property updates in your Obsidian notes using simple conditional rules.
Frontmatter to HTML Attributes
2 months ago by Tarek Saier
Makes YAML frontmatter available as data-* attributes in HTML, enabling metadata based CSS styling.