Repomix

Repomix

Pack your repo into one AI-friendly file that LLMs like ChatGPT and Claude can read in full.

69/100MonitorFreeFree

For developers feeding whole repos to an LLM, few free tools deliver this much control per keystroke. The .gitignore awareness, Secretlint filtering, per-file token counts, and Tree-sitter compression are the reasons to pick it over pasting files together by hand. It's a terminal-first tool, so if you never touch a CLI, budget time to learn it — otherwise it's an easy default.

Verified 6d ago · liveness 69/100 · cite: rightaichoice.com/tools/repomix

Best for
  • Developers feeding a full codebase to ChatGPT, Claude, or Gemini for refactoring and review
  • Teams automating AI-ready repo snapshots in CI/CD with GitHub Actions
  • Engineers integrating whole-repo context into AI assistants via the MCP Server
  • Authors packaging blogs, docs, and books into LLM-compatible datapacks for Q&A
Not ideal for
  • Non-developers who won't work from a command line or Node install
  • Teams wanting a hosted cloud dashboard that packs repos for them
  • Users who need built-in AI chat rather than an output file to paste elsewhere
Visit Website

IntermediateMost users get value in under 5 minutes: just run 'npx repomix' in your project directory and it instantly generates the packed file. For persistent config, 'repomix --init' creates a config file in seconds. Docker users can start with a one-liner.Web · CLI · PluginNo public APIVerified 6d ago
Pricing
Free
FreeFree tier1 hidden cost
Learning curve
Intermediate
Most users get value in under 5 minutes: just run 'npx repomix' in your project directory and it instantly generates the packed file. For persistent config, 'repomix --init' creates a config file in seconds. Docker users can start with a one-liner.
Runs on
WebCLIPlugin
No public API · 5 integrations
Who it's for
Solo developerDevOps engineerTech lead
Live sentiment
Is Repomix actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip Repomix if you're a non-developer who prefers a GUI, or if you need built-in AI chat capabilities, real-time collaboration, or cloud-hosted processing without a local install.

The 30-second take
Biggest gripe

No direct costs since Repomix is free and open-source, but you must pay for an LLM subscription (ChatGPT, Claude, Gemini, etc.) to use the packed output.

Price reality

Repomix is completely free and open-source, so the only cost is the LLM subscription you already have. Compared to GUI-based tools or managed services that charge per use, Repomix offers no per-seat or per-packaging fees, making it ideal for cash-strapped developers and startups.

In short

Repomix — Pack your repo into one AI-friendly file that LLMs like ChatGPT and Claude can read in full. Best for Developers feeding a full codebase to ChatGPT, Claude, or Gemini for refactoring and review, Teams automating AI-ready repo snapshots in CI/CD with GitHub Actions, Engineers integrating whole-repo context into AI assistants via the MCP Server. Free to use.

What's new in Repomix

Checked 4 days ago

Across the latest 1 update: 1 feature update.

What people actually say about Repomix — is it worth it?

We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.

35 mentions across 2 sources (Hacker News, Lemmy) · researched Jul 3, 2026.

55% positive45% critical

Average across the 2 sources that answered — each source counts once, not each post.

Recurring strengths
  • +Free and open source (MIT license), runs locally with no server dependency.
  • +Respects .gitignore and includes Secretlint for basic security scanning.
  • +Tree-sitter-based compression removes comments and empty lines while preserving structure.
  • +Outputs XML, Markdown, or Plain text for compatibility with diverse LLMs.
  • +Token counting per file and total helps manage context window limits.
Recurring frustrations
  • −Token reduction is minimal compared to newer tools like Scribe (98%).
  • −CLI-only with no GUI; may intimidate less technical users.
  • −No iterative or agentic context management for multi-turn sessions.
  • −Lacks advanced filtering beyond glob patterns and .gitignore.
  • −Token counter may not perfectly match all LLM tokenizers.
Patterns worth knowing
Repomix works well but is outclassed by newer token-optimizing tools like Scribe.
Seen on Hacker News, Lemmy
Ideal for quick, one-shot bundling of codebases for LLM context.
Seen on Hacker News, Lemmy
Rough edges and lack of advanced features limit its use for iterative development.
Seen on Hacker News
Learning curve
beginnerProductive in ~5 minutes
Hidden costs people mention
  • • No paid tiers; only hidden cost is time spent on rough edges and limited token optimization.

Viability Score

69/100
Monitor

How well maintained and how widely used is Repomix? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
90
Traction
100
Site health
95
User sentiment
55
What the vendor publishes
20

Last calculated: September 2026

How we score →

Key Features

  • Pack an entire repository into a single XML, Markdown, JSON, or plain text file
  • Respects .gitignore automatically for git-aware packing
  • Secretlint integration detects credential-like files and excludes them from output
  • Token counting per file and for the whole repository
  • Tree-sitter code compression for roughly 70% token reduction
  • Option to remove comments and empty lines from packed code
  • Glob-based include and ignore patterns to select files
  • Pack remote repositories via --remote (URLs, branches, tree paths, commit URLs)
  • Generate a persistent repomix.config.json with repomix --init
  • Include file summary and directory structure in output
  • Show line numbers in packed output
  • Use as an MCP Server for AI assistant integration
  • Chrome extension for packing codebases from the browser
  • Docker image for isolated or containerized runs
  • GitHub Actions for automated packing in CI/CD workflows

About Repomix

FreeIntermediateNo APIWeb · CLI · Plugin

Repomix is an open-source tool that packs an entire codebase into a single AI-friendly file, giving large language models like ChatGPT, Claude, and Gemini complete repository context without manual file stitching. It's built for developers who work with AI on code review, refactoring, planning, and documentation, and for teams that want that context generated reproducibly from the command line. In practice you run npx repomix@latest or install it globally via npm, yarn, bun, or Homebrew, and it writes a repomix-output.xml to your directory. From there you can pack all or part of a repo using glob include/ignore patterns, or pack remote repositories with the --remote flag — which supports shorthands, full URLs, branches, specific tree paths, and even commit URLs. Because the CLI uses your local git it can reach private repositories too. Five mechanics do the real work. It respects your .gitignore so generated and vendored files stay out; Secretlint scans for known credential formats and drops matching files from the output; token counts are reported per file and for the whole repository so you can see how close you are to a context limit; Tree-sitter-based code compression extracts signatures and structure while stripping implementation detail for roughly 70% token reduction; and comments or blank lines can be removed separately. Output can be XML (default), Markdown, JSON, or plain text, and a repomix.config.json persists your settings. Beyond the terminal it ships as a Docker image for isolated runs, a Chrome extension, an MCP Server for AI assistant integration, and GitHub Actions for CI/CD automation, plus a way to use it as a Node.js library and custom instructions to embed prompts directly in the packed output. Compare it against naive concatenation or GUI collectors: Repomix still gives you the security and token controls those skip, and it remains free.

Behind the Verdict

Pick Repomix when the job is 'give the model the whole thing.' That covers refactor planning, bug investigation, third-party library security checks, and doc generation from an existing codebase. It also fits an unusual use case the docs call out: authors packaging blogs, docs, or book content into LLM-compatible datapacks for AI-powered Q&A. If you already work in a terminal, the startup cost is essentially zero. Pass on it if no one on the team will run a command. There's no cloud dashboard doing the packing for you, and no built-in chat — it produces a file you then hand to ChatGPT or Claude yourself. Teams expecting real-time collaborative editing, or people who want zero local install, should look elsewhere. Against pasting files together or a generic GUI collector, the differentiator is what's automated around the packing: .gitignore enforcement, Secretlint credential detection, per-file and repo-wide token counts, and Tree-sitter compression that the docs measure at roughly 70% token reduction. That set is why we'd reach for it on a large repo where token limits actually bite. Where it bites: the compressed output is signatures and structure, so if a question hinges on implementation detail inside a function body, you may need the uncompressed pack. Secretlint matches known credential formats — it is a safety net, not an audit. Recipe: run once with defaults to see token counts, add include/ignore globs and compression, then keep the result in CI with GitHub Actions. Using it as an MCP Server or Node.js library matters for engineers wiring repo context into an assistant or app rather than pasting it into a chat window. The recent JSNation Open Source Awards 2025 nomination under 'Powered by AI' is community recognition, not a feature — treat it as a signal

Researching Repomix? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Real-world workflow fit

Concrete scenarios for the personas Repomix actually fits — and what changes day-one when you adopt it.

Solo developer

You're starting a refactor of a legacy JavaScript project. You run 'npx repomix' in the project folder, then paste the resulting repomix-output.xml into ChatGPT with a prompt asking for a refactoring plan.

Outcome: ChatGPT analyzes the entire codebase at once, providing a comprehensive refactoring roadmap with specific changes, which you then implement.

DevOps engineer

You want to automate code review in your CI pipeline. You set up a GitHub Action that runs Repomix on every push, generating a packed file that's sent to an AI reviewer like CodeRabbit.

Outcome: Every pull request gets AI feedback on the whole codebase, reducing review time and catching issues early.

Tech lead

You need to audit a third-party repository for security vulnerabilities. You run 'npx repomix --remote <repository-url>' and pass the output to an AI assistant with a security-focused prompt.

Outcome: The AI flags potential credential leaks and insecure patterns, thanks to Repomix's Secretlint integration and complete context.

Use Cases

Limitations

  • No underlying AI model; it's a codebase packaging utility.
  • Output format is limited to XML, Markdown, and plain text.
  • Packing may not handle large or binary files efficiently.

as of 2026-08-31

Verification history

We have re-verified Repomix 7 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. — re-checked, vendor evidence unchanged
  3. — re-checked, vendor evidence unchanged
  4. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  5. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  6. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it

Showing the 6 most recent of 7 verification passes.

Free to cite with attribution — this page re-verifies continuously.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • No direct costs since Repomix is free and open-source, but you must pay for an LLM subscription (ChatGPT, Claude, Gemini, etc.) to use the packed output.

Where the pricing makes sense

The company stage and team size where Repomix's pricing actually pencils out — and where peers do it cheaper.

Repomix is completely free and open-source, so the only cost is the LLM subscription you already have. Compared to GUI-based tools or managed services that charge per use, Repomix offers no per-seat or per-packaging fees, making it ideal for cash-strapped developers and startups.

Setup time & first value

How long it actually takes to get something useful out of Repomix — broken out by persona, not the marketing-page minute.

Most users get value in under 5 minutes: just run 'npx repomix' in your project directory and it instantly generates the packed file. For persistent config, 'repomix --init' creates a config file in seconds. Docker users can start with a one-liner.

Integrations

DockerGitHub ActionsMCP ServerChromeSecretlint

Resources & Guides

Tutorials & Learning

YouTube returned 6 videos for “Repomix”, and we withheld 5: 5 could not be judged, because “Repomix” is a single word that other videos use for other things. Showing the 1 we can prove is about Repomix.

Official links

Tools that pair well with Repomix

Common stack mates teams adopt alongside Repomix, with the specific reason each pairing earns its keep.

Featured Head-to-Head Comparisons

Alternatives to Repomix

View all
Claude Code

Claude Code

Claude Code is Anthropic's agentic coding assistant that plans, edits, and runs commands across your repo from the terminal, IDE, or browser.

FreemiumTry
Replit Agent

Replit Agent

Replit Agent turns a plain-English prompt into a runnable full-stack app inside your browser, then deploys it to a live URL.

FreemiumTry
Pieces for Developers

Pieces for Developers

A desktop memory layer that captures your focused app every 2 seconds and pipes that history into MCP-ready AI assistants.

PaidTry

Frequently Asked Questions

Used Repomix? Help shape our editorial sentiment research.