kirill-markin/repo-to-text
Convert a repository structure and its contents into a single text file, including the tree output and file contents in markdown code blocks. It may be useful to chat with LLM about your code.
This tool helps software developers quickly get their project's code and directory structure into a single text file. It takes a project folder as input and produces a nicely formatted text file or clipboard content that includes the file tree and the code from each file. Developers can then easily share this comprehensive text with large language models (LLMs) for tasks like code review, debugging, or generating documentation.
203 stars. Available on PyPI.
Use this if you need to feed your entire codebase or a significant part of it into a large language model to get help with coding tasks.
Not ideal if you only need to share a few specific code snippets or if you are not interacting with AI models for development.
Stars
203
Forks
22
Language
Python
License
MIT
Category
Last pushed
Dec 07, 2025
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/kirill-markin/repo-to-text"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
cyanheads/repo-map
repo-map generates LLM-enhanced summaries and analysis of software repositories, providing...
TonyStef/Grov
Grov automatically captures the context from your private AI sessions and syncs it to a shared...
zebangeth/DirPrint
Print/export your project's directory structure and code | Simplify your code sharing with...
abinthomasonline/repo2txt
Web-based tool converts GitHub repository contents into a single formatted text file
sansan0/ai-code-context-helper
🚀 Desktop tool for extracting code context to enhance AI-assisted development. Visualize project...