louanfontenele1k downloadsAutomatically standardizes file names to GitHub style (lowercase, no accents, only -, ., _) while preserving folder structure and file contents.
Vault File Renamer automatically standardizes vault file and folder names. It converts names to lowercase, removes accents, applies configurable replacement rules, and preserves user-defined exceptions.
md, canvas, png). If set, only these are renamed.Standardize everything now runs an explicit pass over the entire vault (respects all blacklists and rules).-2.Clone or download this repository.
Run npm install in the plugin folder to install dependencies.
Build the plugin using:
npm run build
Copy the generated main.js, manifest.json, and styles.css to your Obsidian plugins folder (usually .obsidian/plugins/vault-file-renamer).
Open Obsidian, go to Settings → Community Plugins, and enable Vault File Renamer.
Enable the toggle:
In Settings → Vault File Renamer, turn on Automatically rename. From now on, new creations and manual renames will be standardized.
Configure file types:
md, canvas). If this list is empty, the plugin treats it as all extensions.md, excluded xml → xml files are still skipped.Blacklist what you don’t want touched:
Run a full pass on demand:
Use the command “Standardize everything now” to sweep the entire vault once, respecting all blacklists and extension rules.
Customize renaming rules:
Rules use JavaScript regular expressions. For example, keeping spaces requires disabling the default spaces-to-dashes rule and allowing whitespace in the special-character rule.
Enjoy a tidier vault with standardized filenames.
To set up the development environment:
Install Dependencies:
npm install
Watch for Changes (Development Mode):
npm run watch
Lint and type-check:
npm run lint
npx tsc --noEmit
Build for Production:
npm run build
Feel free to contribute and open issues if you find any bugs or have feature requests!
Developed by Louan Fontenele.
Inspired by the Obsidian Sample Plugin.
This project is licensed under the MIT License — see the LICENSE file for details.