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.

55
/ 100
Established

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.

software-development code-analysis developer-tools AI-assisted-coding code-sharing
Maintenance 6 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 14 / 25

How are scores calculated?

Stars

203

Forks

22

Language

Python

License

MIT

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.