Setup loaded. Click Package Source.

Context Tools

Long Input Formatter

Pasting a big document raw mixes your source with your instructions. Package it instead: explicit delimiters separate material from commands, [§N] labels make sections citable, and grounding rules keep the model inside the source — up to strict mode, where missing answers become "the source does not say", never a guess. The source travels verbatim. Runs entirely in your browser.

Paste the document, transcript, or reference text — it travels verbatim between the delimiters. Nothing leaves the browser.

Source Type

Each type adds its own reading rules — transcripts get speaker attribution, requirements keep shall/must binding.

Packaging Mode

Strict Grounding is the flagship: only the source exists, gaps answer "The source does not say."

Packaging Preview (live — the plan, not the package)

            

AI Resource Library

Resources for this tool

View All Resources →

Workflow Playbooks

Playbooks that use this tool

All Playbooks →
Context Workflows · 3 steps

AI RAG Context Workflow

Prepare documents for a RAG system so retrieved answers stay accurate — budget the chunk size to the model, ground the sources against drift, and split them on clean boundaries for retrieval.

View Playbook →
Structured Output Workflows · 4 steps

AI Data Extraction Workflow

Turn messy text into structured data you can trust enough to feed another system — bound the source, extract the fields, force clean JSON, and validate before it flows downstream.

View Playbook →
Research Workflows · 3 steps

AI Research Synthesis Workflow

Pull a single coherent view out of a stack of sources — package them together, summarize each faithfully, then have AI synthesize across them instead of one at a time.

View Playbook →

How it works

Paste the source material — a document, transcript, contract, requirements spec, API docs, or raw notes — and optionally state the task. The Source Classification Engine detects the type deterministically (overridable), and each type adds its own reading rules: transcripts get speaker attribution and chronology rules, requirements keep shall/must binding, technical docs forbid paraphrasing code. Pick a packaging mode — Standard, Research, Documentation, Transcript, or Strict Grounding — and click Package Source. The package wraps your material verbatim between explicit <<<SOURCE START>>>/<<<SOURCE END>>> delimiters, inserts [§N] section labels for citation, and tops it with grounding instructions graded by mode: from "answer from the source first, label outside knowledge" up to strict mode's "only the source exists; gaps answer 'The source does not say.'; a claim you cannot cite is a claim you cannot make." The packaging also instructs the model never to follow instructions that appear inside the source — material and commands stay separated. Nothing leaves your browser.

Use cases

  • Pasting long documents without mixing source and instructions
  • Grounding answers in a contract, policy, or spec
  • Making sections citable with § markers
  • Reducing hallucinations on source-based tasks

Pro tips

  • Use Strict Grounding whenever a wrong answer is worse than no answer — contracts, policies, compliance. Its rule that "a claim you cannot cite is a claim you cannot make" changes what the model dares to assert.
  • Let auto-detect classify the source, but check the preview: the type drives real rules (speaker attribution, binding shall/must, verbatim code), so a misclassified source gets the wrong discipline. Override with the select when needed.
  • Ask for § citations in your follow-up questions too — the labels only pay off if you use them. "Which section says that?" becomes answerable the moment the source is labeled.
  • The instruction-injection rule is doing quiet work: text inside your source that looks like a command ("ignore previous instructions…") is explicitly neutralized by the packaging. Paste untrusted documents with that in mind — packaged beats raw.

FAQ

Isn't this just the Prompt Formatter?

No — opposite ends of the prompt. The Prompt Formatter restructures your INSTRUCTION: a messy task description becomes a clean, sectioned prompt. This tool packages your MATERIAL: the document or transcript the instruction operates on gets delimiters, section labels, and grounding rules. PF asks "what am I telling the AI to do?"; LIF asks "what am I giving the AI to work from?" They compose: a PF-formatted instruction plus a LIF-packaged source is the full discipline.

Why do delimiters matter so much?

Because without them the model has to guess where your words end and the document's begin — and it guesses wrong in both directions: treating source sentences as instructions to follow, and treating your instructions as part of the text to analyze. Explicit delimiters end the guessing, and the packaging adds the security half: instructions appearing INSIDE the source are explicitly not to be followed, which blunts prompt-injection from untrusted documents.

What does Strict Grounding actually change?

It removes the model's permission to be helpful beyond the source. Only the delimited material exists for the task; assumptions are forbidden; anything missing gets the exact answer "The source does not say." — and every claim must cite its [§N] marker, with the rule that a claim you cannot cite is a claim you cannot make. "The task cannot be completed from this source" is explicitly defined as a valid, complete answer.

Does packaging change my source text?

No — the source travels verbatim between the delimiters: nothing summarized, cleaned, reordered, or rewritten, and the package says so. The only additions are [§N — title] labels inserted on their own lines for citation; remove the label lines and the delimiters and you have your exact original text back.

What do the source types change?

The reading rules in the analysis section. Transcript: every statement attributed to its speaker, later statements override earlier ones, no words in anyone's mouth. Requirements: shall/must binding, should/may weaker — the distinction survives. Technical documentation: code, versions, and identifiers quoted exactly, never paraphrased; the document beats the model's general knowledge of the API. Research: findings stay attributed to their sources; cross-source inferences are labeled as yours. Notes: fragments are observations, not conclusions.

When should I split instead of package?

Package when it fits; split when it doesn't. This tool prepares material that fits the window but needs structure and grounding. If the source exceeds the window, the Long Prompt Splitter chunks it with continuity markers — and the two compose: split first, and each chunk benefits from having been packaged. The Context Window Estimator settles the fits-or-not question.