<claudexml/>

XML tag reference for Claude prompts

Every common XML-style tag used in Claude prompts. Click through for definition, use cases, and runnable examples.

There is no fixed list of "valid" tags — Claude treats any well-named XML-like tag as semantic structure. The tags below are the ones Anthropic's documentation and the community use consistently, in roughly descending order of frequency.

All tags

Cite this page
XML Tag Reference for Claude Prompts. claudexml.com. https://claudexml.com/tags/