abinthomasonline/repo2txt
Web-based tool converts GitHub repository contents into a single formatted text file
This tool helps AI developers prepare codebases for use with large language models (LLMs). It takes code from GitHub, local directories, or zip files and converts it into a single, formatted text file. This plain text output, which can be filtered by file type or directory, is then ready to be used as context for LLM prompts, making it easier to leverage AI for coding tasks.
1,763 stars.
Use this if you need to quickly extract and format specific parts of a codebase into a single text document to feed into an LLM for tasks like code generation, analysis, or refactoring.
Not ideal if you need to interact with your codebase in a structured, executable way or require an advanced code analysis tool with deep semantic understanding beyond text representation.
Stars
1,763
Forks
210
Language
TypeScript
License
—
Category
Last pushed
Feb 17, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/abinthomasonline/repo2txt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
cyanheads/repo-map
repo-map generates LLM-enhanced summaries and analysis of software repositories, providing...
kirill-markin/repo-to-text
Convert a repository structure and its contents into a single text file, including the tree...
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...
sansan0/ai-code-context-helper
🚀 Desktop tool for extracting code context to enhance AI-assisted development. Visualize project...