EveryDev.ai
Subscribe
Home
Tools

3,355+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2415
  • Coding1729
  • Infrastructure738
  • Marketing571
  • Projects537
  • Research481
  • Design441
  • Analytics418
  • MCP339
  • Testing312
  • Security294
  • Data288
  • Integration206
  • Prompts196
  • Communication194
  • Extensions184
  • Learning173
  • Voice163
  • Commerce143
  • DevOps127
  • Web88
  • Finance28
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Code2Prompt
    Code2Prompt icon

    Code2Prompt

    Prompt Engineering
    Featured

    Transform your codebase into AI-optimized prompts using the Goal + Format + Context framework for better LLM interactions.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source under MIT license

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Prompt EngineeringContext EngineeringCommand Line Assistants

    Alternatives

    Prompt MasterFabricCodeGuide
    Developer
    Mufeed VH & Olivier D'AnconaCode2Prompt is developed by Mufeed VH and Olivier D'Ancona a…

    Listed Jan 2026

    About Code2Prompt

    Code2Prompt is a context engineering tool that ingests your codebase and transforms it into structured, AI-ready prompts. Built in Rust for high performance, it enables developers to convert any repository into meaningful context following the Goal + Format + Context framework, making it easier to get accurate, context-aware responses from AI models.

    Key Features:

    • High-Performance Rust Engine - Written in Rust for speed and efficiency, capable of handling large codebases with minimal resource usage while maintaining fast processing times.

    • Handlebars-Powered Templates - Offers customizable prompt generation using Handlebars templates, giving developers full control over the output format and structure of generated prompts.

    • Smart Filtering with Glob Patterns - Supports include/exclude patterns with glob matching for precise code selection, allowing you to query LLMs without extra noise and reduce hallucination.

    • Multi-Format Export - Exports structured prompts in JSON, Markdown, or XML with different formatting options to suit various workflows and AI model requirements.

    • Git Integration - Includes Git diff and log extraction for better context, making it easier to understand code changes over time and provide relevant history to AI models.

    • Multiple Interfaces - Available as a CLI tool for terminal usage, a Python SDK for programmatic integration, and an MCP (Model Context Protocol) server for AI agent workflows.

    • LLM Compatibility - Works with all major AI models including Claude, GPT, Gemini, Mistral, DeepSeek, Qwen, Grok, and local models via Ollama.

    Getting Started:

    To use Code2Prompt, install it via the CLI and run a simple command like code2prompt . in your project directory. Use flags like --include "*.js,*.html" and --exclude "node_modules/" to filter relevant files. The tool generates a structured prompt containing your project tree and file contents, ready to paste into any AI assistant. For Python applications, install the code2prompt-rs package from PyPI. For AI agents, integrate the MCP server to provide rich codebase context automatically.

    Code2Prompt - 1

    Community Discussions

    Be the first to start a conversation about Code2Prompt

    Share your experience with Code2Prompt, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source under MIT license

    • CLI tool
    • Python SDK
    • MCP server
    • Handlebars templates
    • Multi-format export

    Capabilities

    Key Features

    • Codebase to AI prompt transformation
    • Goal + Format + Context framework
    • Handlebars template customization
    • Glob pattern filtering (include/exclude)
    • Multi-format export (JSON, Markdown, XML)
    • Git diff and log extraction
    • Source tree visualization
    • CLI interface
    • Python SDK integration
    • MCP server for AI agents
    • High-performance Rust engine

    Integrations

    Claude
    GPT/OpenAI
    Gemini
    Mistral
    DeepSeek
    Qwen
    Grok
    Ollama
    Git
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Code2Prompt and help others make informed decisions.

    Developer

    Mufeed VH & Olivier D'Ancona

    Code2Prompt is developed by Mufeed VH and Olivier D'Ancona as an open-source project. The tool transforms codebases into AI-optimized prompts using Rust for high performance. The project is community-driven and released under the MIT license, encouraging contributions and extensions from developers worldwide.

    Read more about Mufeed VH & Olivier D'Ancona
    GitHubLinkedInX / Twitter
    1 tool in directory

    Similar Tools

    Prompt Master icon

    Prompt Master

    A Claude skill that writes accurate, token-efficient prompts for 30+ AI tools including Claude, ChatGPT, Midjourney, Cursor, and more — with full context and memory retention.

    Fabric icon

    Fabric

    An open-source CLI framework for augmenting humans using AI by organizing and applying crowdsourced prompt patterns to real-world tasks.

    CodeGuide icon

    CodeGuide

    CodeGuide turns your plain-English idea into a spec-driven project knowledge base—PRDs, tech specs, wireframes, and task lists—so AI coding tools write better code with fewer hallucinations.

    Browse all tools

    Related Topics

    Prompt Engineering

    Tools for creating and refining effective AI prompts.

    71 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    47 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    196 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    40views