Pour off the clear part.
Leave the sediment behind.
Drag in messy files, get one curated, token-budgeted Markdown bundle. Nothing is uploaded.
Open Decant- contract.pdf14,203
- notes.docx9,880
In the app, files are dropped here. They stay on your machine.
24,083 / 100,000
What is Decant?
Decant is a tool that turns a pile of documents into one Markdown bundle for an AI model. It reads PDF, DOCX, XLSX, PPTX, HTML, Markdown and CSV files, lets you choose which sections go in, and counts the tokens before you send anything. It runs in your browser, where your files are parsed on your own device and nothing is uploaded. The same engine is also a command-line tool.
Repetition
Twelve contracts sharing one indemnity clause cost twelve copies. Decant includes it once and references it after.
Example: 18,400 tokens saved across those twelve.
Credentials
Keys, tokens and credentials are found on your machine and reviewed by you before anything leaves it. So are phone numbers, card numbers, US Social Security numbers, email addresses, web addresses, IP addresses, MAC addresses, IBANs, Aadhaar numbers, Indian PANs and UK National Insurance numbers. It does not detect names. It will miss things; it says so.
Irrelevance
Pick the sections that matter. Set a budget. Decant shows what each section costs; you decide.
For work you can't upload
Legal teams review documents that cannot leave the firm's network. Finance closes the books on numbers that are not yet public. Clinical researchers work with records that were never meant to be seen by anyone outside the study.
Decant parses your files in your browser. No server ever sees your content. When you save a recipe, it stores the file identities—path, size, modified time—plus the headings of the sections you cut, so you can read and edit it; save it redacted and those headings become one-way signatures instead. Re-run the recipe against changed sources; Decant reports what moved before it rebuilds.
Engineering teams working under NDA can assemble context from internal docs, specs and exports without copying them into a chat window. Turn on provenance anchors — the checkbox in the budget rail, or --anchors on the command line — and every section carries one, so an answer can be traced back to the passage it came from.
This page is a static file. Every request it makes is for its own stylesheets, scripts, fonts and icon — no analytics script, no third party, no cookie. Check your DevTools, and see what Decant keeps.
Send the model less, and know what you sent.
decant ./docs --budget 100000 -o context.mdSame recipes, same output, in CI. Free, from npm: install it withnpm install -g @decantmd/cli, or run it once withnpx @decantmd/cli.