# Delimiters

Canonical page: https://www.theglitch.ai/ai-glossary/delimiters

Clear markers, like tags or triple quotes, that separate instructions from the material to work on.

[Delimiters, common card \#075 in The Glitch AI glossary: Clear markers, like tags or triple quotes, that separate instructions from the material to work on.](https://www.theglitch.ai/images/cards/glossary/delimiters.png?v=afb569b6325305d8)

GLS 075 · common

Also called: XML tags in prompts.

For: Builders

## Why it matters

They stop the model from confusing your documents with your instructions, and help against injected text.

## In practice

\<contract\>…\</contract\> wraps the pasted text so the model knows where it starts and ends.

## Watch for

Delimiters help but do not fully block prompt injection.

## Related terms

[Prompt injection](https://www.theglitch.ai/ai-glossary/prompt-injection) · [Structured output](https://www.theglitch.ai/ai-glossary/structured-output) · [Prompt template](https://www.theglitch.ai/ai-glossary/prompt-template)

## Guides that use it

[Prompting that actually works.](https://www.theglitch.ai/learn/prompting)

## Sources

- [Anthropic docs: Use XML tags](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
