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

Tidy Titles

Magnus WållbergMagnus Wållberg28 downloads

Slugify filename from note title

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

An Obsidian plugin that keeps your filenames tidy while preserving the human-readable title.

When you create a note and give it a name like This is my Node, Tidy Titles:

  1. Slugifies the filename → this-is-my-node.md (lowercase + hyphens by default, configurable).

  2. Stores the original title in frontmatter so nothing is lost:

    ---
    title: This is my Node
    aliases:
      - This is my Node
    ---
    

Pair it with the Front Matter Title plugin to display the original title in the file explorer, tabs, and graph while the files on disk stay slug-clean.

Features

  • Hooks Obsidian's native "New note" — create a note, type its name, and the filename is slugified and frontmatter is added automatically. Only acts on new, empty notes, so it never clobbers existing content or ordinary renames.
  • New note from title command — a modal prompt with a live slug preview. Bind it to Ctrl+N (and clear the core "Create new note" hotkey) in Settings → Hotkeys if you'd rather name a note in a modal up front than tidy the inline name afterwards. New notes go wherever Obsidian's Default location for new notes setting points.
  • Rename note title command — the way to change a note's title: a modal prefilled with the current title: lets you edit it, then updates the frontmatter title/aliases and re-slugifies the filename to match. Also available by right-clicking a note in the file explorer, on a tab, or in the editor, and bindable to a hotkey via Settings → Hotkeys. Alias handling on rename is configurable (see Keep previous aliases on rename below).
  • Rename current note to slug of its title command — re-slugifies an existing note from its title: frontmatter (or its current filename), without changing the title.
  • Rename current note's folder to a slug command — tidies imported or oddly-named folders.
  • Backlink-safe — renames use Obsidian's fileManager.renameFile, so links to the note are updated automatically.

Configurable slug rule

The transform is a configurable regex replace (Settings → Tidy Titles):

Setting Default Meaning
Hook Obsidian's "New note" on intercept native new-note creation
Lowercase on lowercase the title before applying the pattern
Pattern \s+ regex of characters to replace
Flags g regex flags
Replacement - string each match becomes
Trim character - strip this char from the start/end of the result
Add aliases on also write the title to the aliases list
Keep previous aliases on rename on on rename, keep earlier titles as aliases (link-safe); off replaces them with just the new title

The defaults produce a kebab-case slug: This is my Node → this-is-my-node.

For a strict slug that also drops punctuation while preserving Unicode letters such as å ä ö, set:

  • Pattern: [^\p{L}\p{N}]+
  • Flags: gu

e.g. FSX: To Buy → fsx-to-buy.

The settings tab shows a live preview so you can see what your regex produces.

Installation (manual)

This plugin is plain JavaScript and requires no build step.

  1. Copy main.js and manifest.json into <your-vault>/.obsidian/plugins/tidy-titles/.
  2. In Obsidian, open Settings → Community plugins, then enable Tidy Titles.

License

MIT

HealthExcellent
ReviewPassed
About
Keep filenames tidy while preserving human-readable titles. Slugify new note filenames and store the original title in frontmatter; update links when renaming and offer commands to create or rename notes with live slug previews.
FilesProperties
Details
Current version
1.0.0
Last updated
2 weeks ago
Created
Last month
Updates
1 release
Downloads
28
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Magnus WållbergMagnus Wållberghoxi
GitHubhoxi
  1. Community
  2. Plugins
  3. Files
  4. Tidy Titles

Related plugins

Multi Properties

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

Front Matter Title

Define a title in frontmatter to be displayed as the filename.

Notebook Navigator

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

Claudian

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

Advanced URI

Control everything with URI.

Meta Bind

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

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

Advanced Canvas

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

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.