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

Find-n-Replace

gapmissgapmiss2k downloads

A VSCode-style vault-wide search & replace sidebar view.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates17

Vault-wide search and replace for Obsidian with regex support, multi-selection, and file filtering.

Find-n-Replace UI

[!CAUTION] This plugin modifies vault files directly. Maintain backups before bulk replacements.

Features

  • Search all text files (md, txt, js, css, json, etc.)
  • Regex with capture groups ($1, $2, $&)
  • Multiline patterns across lines
  • Case-sensitive and whole-word matching
  • Multi-select matches with Ctrl/Cmd+click
  • File filtering by extension, folder, or glob pattern
  • Search history with ↑↓ navigation
  • Click results to jump to location

Installation

Install from community.obsidian.md

From Obsidian's settings or preferences:

  1. Community Plugins > Browse
  2. Search for "Find-n-Replace"

Manually:

  1. download the latest release archive
  2. uncompress the downloaded archive
  3. move the find-n-replace folder to /path/to/vault/.obsidian/plugins/
  4. Settings > Community plugins > reload Installed plugins
  5. enable plugin

or:

  1. download main.js, manifest.json & styles.css from the latest release
  2. create a new folder /path/to/vault/.obsidian/plugins/find-n-replace
  3. move all 3 files to /path/to/vault/.obsidian/plugins/find-n-replace
  4. Settings > Community plugins > reload Installed plugins
  5. enable plugin

Usage

  1. Open via Command Palette: Find-n-Replace: Open
  2. Enter search term (results appear as you type)
  3. Optional: Click filter icon to limit by file type or folder
  4. Enter replacement text
  5. Replace individual matches, selected matches, or all

Search options: Match Case, Whole Word, Regex, Multiline

Selection: Ctrl/Cmd+click to multi-select, Escape to clear

Examples

Search Replace Result
TODO DONE Simple text replacement
(\d{4})-(\d{2})-(\d{2}) $2/$3/$1 Date format conversion
\[\[(.+?)\]\] $1 Remove wikilink brackets
\s{2,} Collapse multiple spaces

Commands

  • Open
  • Focus search/replace input
  • Perform search
  • Clear search and replace
  • Toggle match case/whole word/regex/multiline
  • Replace selected/all matches
  • Select all results
  • Expand/collapse all

Assign hotkeys in Settings → Hotkeys → search "Find-n-Replace"

Settings

  • Search history: Enable/disable, max entries (10-200)
  • Max results: Limit displayed results (default: 1000)
  • Auto search: Toggle search-as-you-type
  • Confirm destructive actions: Prompt before Replace All
  • Default filters: Set default include/exclude patterns
  • Logging level: Silent to Trace for debugging

Development

npm install
npm run dev      # watch mode
npm run build    # production
npm test         # run tests

License

MIT

95%
HealthExcellent
ReviewPassed
About
Search your entire vault and replace matches across multiple files using JavaScript regex with capture-group support. Preview matches in a navigable list, select specific hits or whole files, filter by folders or file types, and jump to any match to review before applying changes.
SearchFilesEditing
Details
Current version
1.1.1
Last updated
Yesterday
Created
8 months ago
Updates
17 releases
Downloads
2k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
gapmissgapmiss
github.com/gapmiss
GitHubgapmiss
  1. Community
  2. Plugins
  3. Search
  4. Find-n-Replace

Related plugins

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Remember cursor position

Remember cursor and scroll position for each note.

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Note Refactor

Extract note content into new notes and split notes.

Home tab

A browser-like search tab for your local files.

Code Space

Professional code file management with visual dashboard, syntax highlighting editor, and Markdown embedding.

Advanced Tables

Improved table navigation, formatting, and manipulation.

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.

Smart Connections

Find related notes and excerpts while writing. Your link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.