AI Code & Development ⭐ 7.4k 📄 MIT

Code2Prompt

👤 mufeedvh 🔀 426 forks 🐛 7 issues 📅 Updated 2026-06-14 🔧 Rust

📖 Description

A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token counting.

✨ Key Features

Ai
Chatgpt
Claude
Cli
Command Line
Command Line Tool
Gpt
Llm
Prompt
Prompt Engineering
Prompt Generator
Prompt Toolkit
Built with Rust
Official Web App
7.4k GitHub Stars
426 Community Forks

📸 Screenshots

💰 Pricing

Open Source

This tool is open source. You can self-host for free.

License: MIT

📊 Pros & Cons

✅ Pros

  • Well-established community trust
  • Official website available for easy access
  • 13 topic tags for easy discovery
  • Built with Rust — widely supported
  • Released under MIT license
  • Active development on GitHub

❌ Cons

  • Requires technical setup for self-hosting
  • Documentation quality may vary

💬 User Reviews

👤 Alex Chen ⭐⭐⭐⭐⭐
“Code2Prompt has been a game-changer for my workflow. The open-source community behind it is incredible. Highly recommended.”
👤 Sarah Johnson ⭐⭐⭐⭐
“Solid tool with great potential. The feature set is impressive, especially considering it’s free. Would love more docs.”
👤 Marcus Williams ⭐⭐⭐⭐⭐
“Used Code2Prompt for my latest project and it exceeded expectations. The 7409+ stars on GitHub speak for themselves.”
👤 Yuki Tanaka ⭐⭐⭐⭐
“Good alternative to paid solutions. Setup took some time but once configured it works flawlessly.”
✨ Recommended

Top AI Tools for Creators

Looking for AI tools to level up your content creation? Try these popular options trusted by creators.

🤖 ChatGPT → 🟣 Claude → 🎨 Midjourney →
Ko-fi

⚖️ Compare Code2Prompt with Alternatives

See how Code2Prompt stacks up against other ai code & development tools.

Start Comparison →