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

FileName Styler

marc-fmarc-f2k downloads

Customize and style file names in the file explorer using patterns, prefixes, suffixes, colors, and icons.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

FileName Styler is a plugin for Obsidian that allows you to hide, modify, and decorate parts of file names in the sidebar based on patterns or folder locations.

Originally created as simple “Zettelkasten ID Hider,” this plugin has evolved into a flexible tool for styling file names based on regex or timestamp-based IDs.

✨ Special thanks to Simon for the original idea and inspiration behind this plugin.


Features

  • Hide timestamp-based IDs (8-, 12-, or 14-digit) from file names
  • Support for custom regular expressions with 3 capture groups
  • Add custom prefixes and suffixes to matching file names
  • Apply custom colors and custom file icons (e.g. 🧠 or 📖)
  • Restrict styling to specific folders only
  • Combine multiple styling profiles – different styles for different folders or file types
  • Automatically restore original file names and styles when unloading

Preview

Here’s a quick before/after look at how file names appear with and without styling enabled:

File name styling example


How it works

This plugin searches for matching file names based on selected ID formats:

  • yyyyMMddHHmmss → 14-digit

  • yyMMddHHmmss → 12-digit

  • yyyyMMdd → 8-digit

  • or a custom regular expression, such as:

    ^(\d{6})([-_ ]?)(.+)$
    

It then applies the configured styling to each match within the File Explorer (without changing the actual file name on disk).


Settings

You can configure and combine multiple profiles. Each profile supports:

  • ID format – Choose from predefined timestamp formats or define your own regex
  • Move ID to end – Display the ID at the end of the file name instead of the start
  • Custom prefix – Text to prepend to the displayed name
  • Custom suffix – Text to append to the displayed name
  • Custom text color – Optional color override
  • Custom icon – Emoji or Unicode (e.g. 🧠, 📖)
  • Folder filter – Apply profile only in certain folders

All profiles can be toggled independently and are applied in order.


Installation

  1. Download or clone this repository.

  2. Copy the following files into your Obsidian vault under:

    .obsidian/plugins/filename-styler/
    

    Required files:

    • main.js
    • manifest.json
    • (optional) styles.css
  3. Enable the plugin in Obsidian under Settings → Community Plugins.


Compatibility

Compatible with Obsidian v1.8.9 and higher. Earlier versions might also work, but have not been tested.


License

MIT License.


Created with ❤️ by and for the Obsidian community.

72%
HealthGood
ReviewSatisfactory
About
Hide timestamp IDs and style file names in the sidebar using predefined timestamp patterns or custom regular expressions. Add prefixes, suffixes, colors, and emoji icons; restrict styles to folders and combine multiple profiles while keeping original filenames on disk.
SidebarAppearanceFiles
Details
Current version
1.2.3
Last updated
Last year
Created
Last year
Updates
8 releases
Downloads
2k
Compatible with
Obsidian 1.8.9+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
marc-fmarc-f
github.com/marc-f
GitHubmarc-f
  1. Community
  2. Plugins
  3. Sidebar
  4. FileName Styler

Related plugins

Notebook Navigator

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

Recent Files

Display a list of recently opened files.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Rainbow-Colored Sidebar

Automatically color your sidebar like a rainbow. No configuration needed.

Local REST API & MCP Server

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