Ask an AI assistant to review your entire codebase and suggest improvements in one conversation.
Get refactoring recommendations by sending your project structure to Claude or ChatGPT without manual copy-paste.
Have an AI explain how your existing code works by providing the full context in a single formatted file.
Collaborate with an AI to add new features by giving it complete visibility into your project structure and dependencies.
Repomix is a command-line tool that bundles an entire code repository into a single text file formatted for AI assistants. When you want to ask an AI like Claude, ChatGPT, or Gemini to help you with a codebase, you often need to give it the relevant code as context. Repomix automates the tedious work of copying and pasting files by packaging everything into one AI-ready document. You run one command in your project directory and it outputs a single file containing all your code, respecting your .gitignore rules so it skips build artifacts and other irrelevant files. It counts the tokens for you, important because AI models have limits on how much text they can process at once. It can also compress the output using a code parser to reduce token count while preserving the important structural information. The tool outputs in XML, Markdown, or plain text format and includes a security check that scans for accidentally included secrets like API keys before you send the bundle to an external AI service. You would use Repomix when you want to ask an AI assistant to review, refactor, explain, or help add features to an existing codebase in one seamless conversation. It also has a browser extension for one-click use directly from GitHub repository pages. The tech stack is TypeScript, running on Node.js.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.