marc-f2k downloadsCustomize and style file names in the file explorer using patterns, prefixes, suffixes, colors, and icons.
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.
Here’s a quick before/after look at how file names appear with and without styling enabled:

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).
You can configure and combine multiple profiles. Each profile supports:
🧠, 📖)All profiles can be toggled independently and are applied in order.
Download or clone this repository.
Copy the following files into your Obsidian vault under:
.obsidian/plugins/filename-styler/
Required files:
main.jsmanifest.jsonstyles.cssEnable the plugin in Obsidian under
Settings → Community Plugins.
Compatible with Obsidian v1.8.9 and higher. Earlier versions might also work, but have not been tested.
MIT License.
Created with ❤️ by and for the Obsidian community.