Skip to content

Repopack

Pack a whole codebase into one AI friendly file

Visit official site

What repopack is

The tool packs an entire codebase into one AI friendly file for large language models such as Claude, ChatGPT and Gemini. Formatting, token counts and .gitignore awareness are part of the output.

What you can do with it

  • Use the packed file for code review and refactoring suggestions
  • Generate project documentation from the packed file
  • Generate test cases from the packed file

What to watch out for

  • Output is a single file aimed at LLM context limits
  • Sensitive data screening relies on the bundled Secretlint check

Pros & cons

✓ What we like

  • Git aware behavior automatically respects .gitignore
  • A single command packs the codebase without setup

! What to watch out for

  • Output is a single file aimed at LLM context limits
  • Sensitive data screening relies on the bundled Secretlint check

FAQ

How do I try it without installing?

Run npx repopack in a project directory.

Does it respect ignored files?

The material states it automatically respects your .gitignore file.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review