michellegdyason119 downloadsPreview and apply bulk vault reorganization plans for notes, attachments, templates, canvases, and other files.
Vault Reorganizer is an Obsidian plugin for previewing and applying bulk vault cleanup plans. It is designed for vaults that have grown into hundreds of folders and need to be flattened into a smaller, easier-to-maintain structure.
For a large vault, a practical target is usually nine folders:
Notes for Markdown notesImages for image filesVideos for video filesSound for audio filesAttachments for PDFs, Office files, archives, and other embedded assetsTemplates for reusable Markdown templatesCanvases for Obsidian canvas filesBases for Obsidian Bases .base filesFiles for miscellaneous non-note filesArchive for material you do not want the plugin to moveIf you prefer a very flat vault, use the Markdown in root strategy. It moves Markdown notes to the vault root, while attachments and other files still go into their configured folders.
Folder already exists rename failures with Obsidian's lower-level vault renameImages folder before the general attachments folderVideos folder before the general attachments folderSound folder before the general attachments folderIMG_1234.jpg, screenshots, pasted images, and hash-like namesImages during the image rename preview even when a file already has a human-readable name.base files into a configurable Bases folderThumbs.db and desktop.ini before checking whether folders are empty.obsidian, .trash, .git, .DS_Store, and .localizedVault Reorganizer Reports from reorganization so generated reports stay putArchiveMoves files into the configured destinations:
NotesImagesVideosSoundAttachmentsTemplatesCanvasesBasesFilesMoves Markdown notes to the vault root. Attachments, templates, canvases, and other files still go to their configured destinations.
Moves attachment file types into Attachments and leaves notes where they are.
.obsidian/plugins/vault-reorganizer folder.To clean up folders after a previous run, open the planner and click Remove empty folders now, or run Vault Reorganizer: Remove empty folders from the command palette.
To rename generic image filenames, add your OpenAI API key in the plugin settings, then open the planner and click Generate image rename preview. The preview sends only the generic image files it needs to name to OpenAI, up to the configured limit, and shows the proposed filenames before anything is changed. PNG, JPEG, WebP, and non-animated GIF are enabled by default for AI naming. Other configured image types can still be moved to Images without AI naming.
To transform handwritten notes, add your OpenAI API key in the plugin settings, then click Generate handwriting Markdown preview. By default, the plugin checks supported images and PDFs in Images and Attachments, skips files that are not detected as handwritten notes, previews the Markdown output, and creates Markdown notes in Notes/Handwritten only after you apply the preview. To target particular files, put one vault path, filename, wikilink, or obsidian://open URL per line in Specific handwriting files; when that field is set, the plugin checks only those files, treats them as handwritten note sources, and skips the folder-scan detection gate. Very large specifically listed PDFs, including some OneNote exports, can be rendered into temporary page images and converted into one combined Markdown note when Split oversized handwriting PDFs is enabled. The split pages are not saved as separate vault files, and handwriting output is restricted to .md files in the handwritten notes destination.
If you use the BRAT plugin, add this repository:
MichelleGDyason/vault-reorganizer
Download these files from a GitHub release and place them in .obsidian/plugins/vault-reorganizer:
main.jsmanifest.jsonstyles.cssRun:
npm install
npm run build
Then copy these files into .obsidian/plugins/vault-reorganizer in the target vault:
main.jsmanifest.jsonstyles.cssThe GitHub release workflow builds the plugin and attaches the required Obsidian files to a release when a version tag is pushed:
git tag 0.1.22
git push origin 0.1.22
The plugin intentionally does not infer semantic categories like projects, areas, or topics. Folder names are often inconsistent in old vaults, so the safest first pass is file-type cleanup. The image rename tool is limited to visible image subjects for filenames. After that, use Obsidian links, tags, properties, search, and Dataview-style queries to build organization that does not depend on deep folder nesting.