

Repomix
β Text source-checked Nov 14, 2026Repomix packages an entire codebase into a single AI-friendly file.
Source-checked against the vendor's site Β· rebuilt from the vendor's own pagesProfile updated Link checked How we rate
In short
Repomix packages entire codebases into single AI-friendly files for reviews and refactoring. It supports multiple output formats and integrates with major AI models via CLI, Docker, or MCP.
Repomix is a tool that packages an entire codebase into a single AI-friendly file. Repomix is designed for code reviews, refactoring, and AI assistance workflows by sharing repository context with AI tools.
Repomix functions as a command-line tool with customization options. The Repomix CLI accesses private repositories using the locally installed git. Repomix can be run using Docker for isolated environments or container preferences.
Repomix supports output formats including XML, Markdown, JSON, and plain text. Repomix uses Tree-sitter to extract code signatures and structure, reducing token usage. Repomix incorporates Secretlint to detect and exclude files matching known credential formats. Repomix provides token counts for each file and the entire repository.
A Chrome extension adds a Repomix button to GitHub repository pages. Repomix offers an MCP Server for Model Context Protocol integration with AI assistants.
According to Repomix: Repomix is a tool that packages an entire codebase into a single AI-friendly file. Its pages list this strength: Packages the entire codebase into a single file.
β The AI Tool Bible editorial team
Pros
- β Packages the entire codebase into a single file.
- β Accesses private repositories via local git.
- β Detects and excludes credential files using Secretlint.
- β Provides token counts for files and the repository.
- β Reduces token usage via Tree-sitter compression.
Facts
- Platforms
- cli, windows, macos, linux, chrome-extension (not source-checked)
- Pricing
- free (not source-checked)
- Open source
- Yes (license: MIT)
- GitHub stars
- 29,255 (checked Nov 13, 2026) (not source-checked)
- Last GitHub push
- Nov 13, 2026 (not source-checked)
- First commit
- Jul 2024 (not source-checked)
- Model used
- ChatGPT, Claude, Gemini, Grok (not source-checked)
- Package downloads (30 d)
- 513,559 Β· npm repomix Β· checked Nov 20, 2026 (not source-checked)
- Hacker News
- 2 stories Β· top 2 points Β· last Jun 25, 2025 Β· checked Nov 20, 2026
- Earliest Wayback capture
- 2025-01-09 (earliest archived capture of the site, not a launch date)
Where this tool sits
Use cases
Frequently asked
- Is Repomix free to use?
- Yes, Repomix is free. The provided documentation does not list any specific pricing tiers or costs associated with using the tool.
- Which AI models does Repomix support?
- Repomix is designed to work with ChatGPT, Claude, Gemini, and Grok. It packages repository context into a single file to facilitate sharing with these AI tools.
- How does Repomix handle sensitive data?
- Repomix incorporates Secretlint to detect and exclude files matching known credential formats. This helps prevent sensitive information from being included in the packaged output.
- What output formats are available?
- Repomix supports output in XML, Markdown, JSON, and plain text formats. It also provides token counts for individual files and the entire repository.
- Can I use Repomix with private repositories?
- Yes, the Repomix CLI accesses private repositories using the locally installed git. It can also be run using Docker for isolated environments.