Context Assembler
Combine files and folders into one LLM-ready context block — like repomix or files-to-prompt, fully in your browser
Add files
Folder uploads preserve the directory tree. node_modules, .git, dist and build output are skipped automatically and never read.
Limits: up to 500 files, 1.0 MB each, 20.0 MB total. Heavier picks are reported, not lost.
Comma or newline separated. Names match any path segment; * is a glob.
Examples
Assemble a TypeScript project
📁 Pick folder: my-app/
<file path="my-app/src/index.ts">
import { greet } from "./utils";
greet("world");
</file>
<file path="my-app/src/utils.ts">
export const greet = (n: string) => console.log(`Hello, ${n}!`);
</file>
<file path="my-app/package.json">
{ "name": "my-app", "type": "module" }
</file>Each file is wrapped in an XML tag with its relative path. The optional tree header gives the model a map of the project first.
Filter to one extension
Extensions: .ts,.tsx
Ignore: node_modules, *.test.ts, dist
→ Only non-test TypeScript files are included.Combine an extension allow-list with ignore globs to ship just the source files that matter for a code-review prompt.
Right-size the context window
Output: 12,480 chars · ≈3,120 tokens
→ Open Token Cost CalculatorThe token estimate shows how much of the context window the assembly uses before you paste it.
About this tool
Merge files and folders into one LLM context block with XML tags, a project tree and a token estimate. Free and client-side — like repomix / files-to-prompt. No uploads. Context Assembler runs in the browser on DevTools. There is no signup, and your input stays on this device unless the tool explicitly performs a live network lookup.
What this tool does not do
- Context Assembler is a free in-browser utility, not a hosted API. It does not keep server-side history and is not a substitute for production verification in your own stack.
How do I use this tool?
How do I use Context Assembler?
Open Context Assembler, enter or paste your input, and copy the result. The page works without an account.
Related guides
Related tools
Agent Tool Flowchart Builder
Design agentic tool-call DAGs with decision branches and bounded loops. Validates reachability, cycle handling, and emits clean Mermaid flowcharts — fully in your browser.
AI Agent Memory & Buffer Simulator
Compare sliding window, summary buffer, and vector memory strategies
AI API Client SDK Generator
Generate typed API client SDK files from OpenAPI specifications or cURL requests
AI Code Explainer
Explain code snippets with grounded cloud AI
AI Code Security Auditor
Scan source code for high-confidence OWASP Top 10 vulnerabilities
AI Code Translator
Translate code into idiomatic implementations in another language