RepoPrep RepoPrep

Messy folder in.
Clean folder out.

RepoPrep is a desktop tool for Windows that removes generated junk from a project folder — dependencies, build output, caches, lock files, logs and images — and produces a cleaned copy, flattened into one folder when you need it. It runs fully offline and never modifies your original files.

Free and open source (MIT). Everything runs on your machine and your source project is never modified. Release history →

Most of a project folder is generated files

A small React application can hold tens of thousands of files under node_modules; a Python project carries venv and __pycache__; builds accumulate dist, build, .next and target folders; lock files, caches and logs pile up alongside the source code.

RepoPrep removes the noise and keeps the code. It reads a project once, detects the stack from manifest files (package.json, pyproject.toml, Cargo.toml, go.mod, pubspec.yaml, *.csproj and more), applies a skip database covering 225 languages and copies only what matters into a clean output folder. In Flatten mode that output is a single directory with every surviving file side by side — ready to share, archive or review in one place. Your working copy stays untouched.

Three modes, one tool

Clean, flatten or scan a project with a couple of clicks.

Smart Clean

Copies the project and drops what no one needs to read: dependencies, build output, caches, lock files and logs. Results are written to a new folder, so your working copy is never touched.

Flatten

Copies every surviving file into a single flat folder, turning a whole repository into one directory. File name collisions are renamed automatically.

Scan Only

Not sure what would be skipped? Run a scan first. It lists everything that would be removed, with live counts, so you can decide whether to clean, flatten or copy at all.

Four steps, a few seconds

No setup, no configuration files, no account.

What changed in v2.2.1

The recent releases fixed the weak spots of the original tool instead of adding bells and whistles.

What gets skipped

RepoPrep understands the usual suspects. This is a sample, not the full list.

node_modulesvenv.venv.gradle__pycache__distbuildtarget.next.nuxt.cache.pytest_cachepackage-lock.jsonyarn.lockpnpm-lock.yaml.log.tmp.DS_StoreThumbs.db

It fits on any Windows machine