Combine files into one Markdown for ChatGPT and Claude

Add Word, Excel, PowerPoint, PDF, Markdown and text files and get one Markdown file to paste into ChatGPT, Claude or NotebookLM, with its character count and an estimated token count. Everything is converted on your device; nothing is uploaded.

or drop them here

Files are processed on your device and never sent to an outside server.

How to use

  1. Choose the shape of the combined file: Markdown, with a contents list and a divider before each file, or tags, with each file in its own document element. You can also include PowerPoint speaker notes and mark where each PDF page starts. Set a token limit to split the combined file between documents into parts that fit your model's context.
  2. Click “Choose files” or drop Word, Excel, PowerPoint, PDF, Markdown or text files onto the box. Each is converted on your device as it is added and the combined file below updates at once; use the arrows to put the files in order.
  3. Check the combined file, its character count and the estimated token count, then copy it or save it as one file to paste into ChatGPT, Claude, NotebookLM or your own prompt.

Frequently asked questions

What does the combined file look like?

In the Markdown shape, a contents list (each file's name and character count) comes first, then each document after a horizontal rule and a comment with its file name, with its headings as the converter wrote them. In the tags shape, each document sits in a document element with its index, source and content, all inside one documents element: the form recommended for long prompts, without a contents list. For a PDF you can also mark where each page starts; pages without text are noted after the document.

What is left out, and what about big files?

Pictures are not included; their links stay in the text as a sign that a picture was there (the single converters save them in a ZIP). Each file is converted as its own tool does: Excel sheets are read up to the row where their cells with text reach 300,000 (a note before and after the table says when a sheet was cut short), hidden sheets and slides are marked, and PowerPoint notes can be included. A PDF with no text at all is left out and pointed to OCR PDF; a file that cannot be read (an older format, a password) is skipped with a message while the others go on. With a token limit set, the combined file is split between documents into parts that each stay under it, saved as one ZIP. Since the token counts are estimates, each part is closed at nine tenths of the limit. A document is never cut, so one that is larger than the limit by itself becomes its own part and is flagged. The contents list and dividers add a few tokens on top of the estimate.

Which files can be combined?

Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) files in their current formats, with or without macros, and templates; PDFs whose text can be selected; and Markdown and plain-text files, which go in as they are (read as UTF-8). Older Office formats (.doc, .xls, .ppt) and password-protected files are not supported: save them again without a password first. A scanned PDF has no text to convert; read it with OCR PDF and add the result as a text file.

How is the token count estimated?

No tokenizer runs on the page. The estimate comes from the kinds of characters in the combined file, with rates fitted against a public tokenizer (the GPT-4o family): Japanese and Chinese characters count about 0.8 token each, kana about 0.7, Hangul about 0.65, and English about one token per five letters. On sample documents the estimate was within 15% of the real count. Claude's tokenizer is not public, so treat the figure as a guide for every model; the character count is exact.

Are my files uploaded to an outside server?

No. Everything runs in your browser, so your files never leave your device. The page only downloads the tool's own code when you add the first file.

Related tools

Guides