← All toolsFree

XML Prompt Converter

Paste a plain-text prompt. Get a correctly structured XML prompt back instantly — no syntax errors, no mismatched tags.

Plain-text promptStart a line with Task:, Instructions:, Context:, etc. to auto-detect sections.
0 characters
XML-structured output
Your XML-structured prompt will appear here as you type.

Section detection rules

If your line starts with…Wrapped in
System:, Context:, Background:<context>
Task:, Goal:, Objective:<task>
Instructions:, Steps:, Rules:<instructions>
Examples:, For example:<examples>
Output:, Format:, Response format:<output_format>
Everything else (no header detected)<user_message>
No sections detected at all<prompt> (whole input)