# FileConcat > Merge all your files into one to get past the file upload limit on ChatGPT, > Claude, Gemini, and NotebookLM. Drop a repo or a folder of PDFs, Word, and > Excel files; everything, even the PDFs, is read right in your browser and > nothing is uploaded. Web app at fileconcat.com, plus a published npm CLI > `@fileconcat/cli` (bin: `file-concat`). These pages cover what the tool does, how to feed files into it, how the filter pipeline decides what survives, and how to read the token counter. Source code, schemas, and the CLI implementation live in the linked repo. Full content as a single file: https://fileconcat.com/llms-full.txt ## Getting started - [Introduction](https://fileconcat.com/docs): FileConcat is a privacy-first tool that packs the files you pick into a single LLM-ready bundle. The output is one XML, Markdown, or plain-text file you can paste into Claude, ChatGPT, Gemini, or any other assistant that takes long-form context. - [Quick start](https://fileconcat.com/docs/quick-start): You can be looking at a tokenised, filtered project bundle in under a minute. The two paths below cover almost every use. - [What FileConcat reads](https://fileconcat.com/docs/formats): Anything that is already text, such as source code, markdown, CSV, JSON or logs, goes into the bundle as it is. The formats below hold their text inside a container, and FileConcat reads it out in your browser. Your files are not uploaded to us. ## Sources - [GitHub import](https://fileconcat.com/docs/github-import): Paste a public GitHub repository URL into the import panel and press **Fetch**, and FileConcat fetches the file tree on demand. It needs no GitHub account, and no server sits in between. The same panel opens [GitHub repo to text](/how-to/github-repo-to-text), next to what 60 public repositories weigh in tokens. - [GitLab import](https://fileconcat.com/docs/gitlab-import): Paste a public GitLab repository URL into the import panel and press **Fetch**, and FileConcat fetches the project tree. - [Bitbucket import](https://fileconcat.com/docs/bitbucket-import): Paste a public Bitbucket repository URL into the import panel and press **Fetch**, and FileConcat fetches the project tree. - [Browser clipper](https://fileconcat.com/docs/clipper): FileConcat Clipper is a Chrome extension that turns the page you are reading into Markdown and pushes it into an open fileconcat.com tab. There it joins your bundle like any dropped file. It covers articles on any site, plus YouTube transcripts, Reddit threads, Hacker News discussions, and ChatGPT, Claude and Gemini conversations. ## Reference - [File filtering](https://fileconcat.com/docs/file-filtering): The **Files** pane, opened by **Adjust what's included**, is the surface for narrowing your output to the files you want to share with an assistant. Everything you type here applies live: the file tree updates as you type, with no Apply button. - [Filter precedence](https://fileconcat.com/docs/filter-precedence): FileConcat decides which files end up in your output through a four-layer pipeline. Each layer runs in order and the next one only sees what survived the previous. Knowing the order makes it easier to predict why a file appears or disappears when you type a pattern. - [Send check](https://fileconcat.com/docs/send-check): When your bundle is ready, FileConcat checks the text of every file in it for keys, passwords and a few kinds of personal numbers before anything leaves the page. A key it recognises is replaced in the bundle, so Copy, Download, Share, the split parts, the preview and the token count all carry the replaced text. The check runs in your browser, like the rest of FileConcat. Your files are not uploaded to us. - [Token estimation](https://fileconcat.com/docs/token-estimation): The token counter on the result screen tells you how much of your model's context window the current output will consume. It updates live as files come and go. - [Token costs](https://fileconcat.com/docs/token-costs): FileConcat has output controls that change how much of your model's context window the output consumes. Some moves cost tokens rather than save them. This page tells you which is which, with measured numbers where they exist. - [Context window costs](https://fileconcat.com/docs/context-window-costs): A context window is a ceiling, not a target. It tells you what a model will accept. It says nothing about what you should send, and the price of sending it climbs in a straight line with every token you add. - [Configuration](https://fileconcat.com/docs/configuration): FileConcat keeps its output and filtering choices in a few places: the result screen (the output format), the **Files** pane opened by **Adjust what's included** (what goes in), the model sheet (the cost estimate), and `localStorage` (the defaults that survive a page reload). This page documents each one in the order you encounter it. - [CLI usage](https://fileconcat.com/docs/cli-usage): The `file-concat` CLI is built on the `@fileconcat/core` library fileconcat.com uses, with the same filtering rules and no browser required. It reads fewer formats than fileconcat.com: no scanned pages, no 97-2003 Office files, Kindle books, Outlook `.msg`, 7z or rar archives, and no transcription. The published version can lag behind fileconcat.com. ## Benchmarks - [FileConcat benchmarks](https://fileconcat.com/benchmarks): the latest score of every benchmark, FileConcat against Tika, markitdown, Repomix, gitingest and others, each row labelled with the version it measured. ## Blog - [What Uses Up Your Claude Usage Limit So Fast](https://fileconcat.com/blog/what-uses-up-your-claude-usage-limit): Why your Claude usage limit runs out after a few messages: Anthropic counts the size of what you attach and the length of the chat, not the number of messages. Counted on Anthropic's API, a typical PDF costs close to three times its own text. - [How Many Tokens Is a PDF in Claude? 195 PDFs, Uploaded vs Pasted as Text](https://fileconcat.com/blog/how-many-tokens-is-a-pdf-in-claude): How many tokens is a PDF in Claude? We counted 195 real PDFs with Anthropic's token counter: a typical page is about 2,400 tokens as a PDF and about 900 as text, nearly 3x, because every page also carries an image. - [Markitdown vs Tika: What Each Text Extractor Misses, Measured](https://fileconcat.com/blog/markitdown-vs-tika-text-extraction): FileConcat 2.6, Apache Tika and Microsoft's markitdown on probe files with a marker in every place 17 formats hold text: comments, charts, headers, deleted text, hard files. - [Text Extraction in the Browser: 9 File Types Benchmarked](https://fileconcat.com/blog/browser-text-extraction-benchmark): FileConcat 2.1 against 2.0 and the best server and GPU readers, on public benchmarks and keyed test sets for PDFs, saved web pages, Office files, ebooks, archives and video. No upload, no GPU. - [Repomix vs gitingest vs code2prompt: 60 Repositories Measured](https://fileconcat.com/blog/repomix-vs-gitingest-vs-code2prompt): Repomix vs gitingest vs code2prompt on the same 60 repositories: which bundle holds the most of your own code, which one reads a PDF, and which keeps your tests. - [What Gets Lost Converting Documents to Text for an LLM](https://fileconcat.com/blog/what-gets-lost-converting-documents-to-text): What gets lost converting documents to text for an LLM: which structures break, which losses a reader chooses and which the format forces, and how to check your own file before you paste it. - [How Many Tokens Is a Codebase? 60 Repositories Measured](https://fileconcat.com/blog/how-many-tokens-is-a-codebase): How many tokens is a codebase? We bundled 60 public repositories whole: a typical one is about 240K tokens, only 4 in 10 fit a 128K window, and the default filters remove about a fifth, about a third of it test files. - [XML vs Markdown for LLM Context: 4 Benchmarks, 5 Codebases Measured](https://fileconcat.com/blog/xml-vs-markdown-for-llm-context): XML vs Markdown vs plain text for LLM context: which one to pick, what the choice costs on five real codebases, and what four published benchmarks do and do not show. - [How to Send a YouTube Transcript to ChatGPT, or a Whole Playlist](https://fileconcat.com/blog/youtube-transcript-to-chatgpt): Send a YouTube transcript to ChatGPT or Claude as one clean file with the description: one video, a channel or a playlist, token count shown first. - [How to Save a Reddit Thread as Markdown](https://fileconcat.com/blog/save-reddit-thread-as-markdown): Save the loaded comments of a Reddit thread as one Markdown file, with authors where the page shows them and replies indented up to eight levels, ready to paste into ChatGPT or Claude. What copy and paste loses, and what to do instead. - [How to Save a Hacker News Thread](https://fileconcat.com/blog/save-hacker-news-thread): Save a Hacker News discussion as one Markdown file, every comment with text and an author that the Algolia API returns, indented up to eight levels deep, ready for ChatGPT or Claude. Including the comments nobody expanded. - [How to Upload Your Entire Codebase to ChatGPT, Claude or Gemini](https://fileconcat.com/blog/feed-codebase-to-llm): Upload a filtered snapshot of your codebase to ChatGPT, Claude or Gemini as one file, when it fits their limits: paste a GitHub URL or drop the folder, leave the noise out, and see the token count first. - [How to Upload Multiple Files to ChatGPT at Once](https://fileconcat.com/blog/combine-files-for-llm): Upload multiple files to ChatGPT at once as one labeled file: one upload against the cap, a path label on every included file, and the token count shown first. ## Source code The FileConcat implementation is open source at https://github.com/CeamKrier/file-concat. The repo is a pnpm workspace with three members: `apps/web` (TanStack Start app deployed to Cloudflare Workers), `packages/cli` (the published CLI), and `packages/core` (the shared library both surfaces use). To grab the full source as a single LLM-ready document, FileConcat can ingest its own repository. Two ways: - Web: open https://fileconcat.com, switch to the GitHub tab, paste `https://github.com/CeamKrier/file-concat`, click Fetch Files, then Copy or Download. - CLI: clone the repo, then run `pnpm dlx @fileconcat/cli ./file-concat --style markdown --output context.md` (or install globally with `pnpm add -g @fileconcat/cli`).