Find and Replace in Multiple Files

Drop many files — code, CSV, Markdown, HTML, JSON — and apply the same find-and-replace rules to all of them. See the matches in each file, preview the result and download everything as a ZIP.

Runs in your browserUpdated
Drop files here or click to choose
Text files only — .js, .ts, .css, .html, .md, .csv, .json, .xml, .txt, .py … (up to 500 files)

Rules

No files yet

    Your data never leaves your computer. All processing happens 100% locally in your browser.

    How to use the Find and Replace in Files

    1. Drop the files (or click to choose them). Binary files such as images are skipped.
    2. Add one or more rules; turn on Regex for patterns and $1 capture groups.
    3. Check the match count per file and preview any file.
    4. Download the changed files as a ZIP — unchanged files are left out.

    When you need it

    • Rename a function, class or CSS variable across a folder of code.
    • Update a domain, email address or copyright year in many HTML or Markdown files.
    • Fix a delimiter or column name in a batch of CSV exports.

    Private and reversible

    Files are read and changed in your browser — nothing is uploaded — and your originals are never modified: you download edited copies. Folder structure is kept in the ZIP when the browser provides it (drag a folder in Chrome or Edge). For a single text, use Find and Replace.

    Also searched as: bulk find and replace, replace text in multiple files, batch find and replace, search and replace multiple files online, multi file replace.

    Tools that pair well with the Find and Replace in Files

    • Regex Replace — Search and replace with regular expressions — use capture groups like $1 to reorder text, anchors for whole lines, and several rules at once.
    • Text Compare — Paste two versions of a text to see exactly what changed: added and removed lines and the changed words inside them, highlighted side by side or in one view.
    • Line Ending Converter — See which line endings a file uses and convert them — Windows CRLF to Unix LF or back — for pasted text or a whole batch of files, with trailing-space and tab cleanup on the side.
    • Remove Duplicate Lines — Paste a list to remove duplicate lines instantly.

    Frequently asked questions

    Are my original files changed?
    No. The tool downloads edited copies; your files on disk stay as they were.
    Can I use regular expressions?
    Yes — turn on Regex and use $1, $2 … in the replacement for captured groups.
    Which files are supported?
    Any text file in UTF-8 — code, markup, CSV, JSON, Markdown, logs. Images, PDFs and other binary files are skipped automatically.
    Is there a size limit?
    Up to 500 files and about 50 MB in total, limited by your browser’s memory rather than a server.
    Can I install Find and Replace in Files as a web app and use it offline?
    Yes. Find and Replace in Files is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

    Related tools