GPT-4o
📚 Education
Basic
Output Format Specification Prompt
Control exactly how AI structures its output by specifying format requirements upfront — tables, JSON, bullet lists, numbered steps, or any custom template.
The Prompt
# Output Format Specification Prompt You are a prompting systems expert. Teach me how to specify output format for [TASK TYPE] so the AI always delivers structured, usable results. ## Format Options List the 8 most useful output formats for AI responses and when each is best: - Markdown: headers, bullets, bold - JSON: structured data, API-ready output - Tables: comparisons, specifications - Numbered steps: sequential instructions - Plain prose: narrative, email, long-form content - Custom templates: define your own structure - Mixed: combine formats within one response - XML or CSV: system integration scenarios ## Specification Techniques Show how to communicate each format clearly in a prompt: - Providing a blank template for the AI to fill - Using "respond ONLY in this format" instructions - Defining field names and data types for JSON output - Specifying word or character limits per section ## Format Prompt Template Write a format specification block for [TASK TYPE] that locks in structure, field names, and constraints, ready to paste at the end of any prompt. ## Common Mistakes List 5 format specification mistakes that cause AI to deviate from the requested structure, with fixes for each.
📝 Fill in the blanks
Replace these placeholders with your own content:
[TASK TYPE]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.