Output format control
For both
Lists, tables, JSON, length limits and templates that fit the person or program reading the output
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
You need to compare four laptops on price, weight and battery life. Which format should you ask for?
Check yourself · 2 of 5
Why add "use null if the call does not say" to a JSON prompt?
Check yourself · 3 of 5
Which length instruction is a model most likely to follow closely?
Check yourself · 4 of 5
You paste a chat answer into a plain-text email and see "**" and "-" symbols. Why?
Check yourself · 5 of 5
Your prompt is a stack of bold headings and bullets, and it ends with "no bullets please". What is most likely?
Topics
- Asking for scannable structure4 min read · Choosing lists, tables or headings when the reader scans, and prose when the reasoning has to flow
- Fixed templates and JSON shapes5 min read · Fill-in templates for recurring reports and JSON with named fields, plus the structured-output modes that enforce them
- Controlling answer length reliably4 min read · Exact word counts are approximate; sentence, bullet and paragraph limits and a stated purpose work better
- Formats for machines versus people5 min read · Markdown renders in chat but breaks email and code; programs need strict shapes, no preamble and validation
- Prompt style shapes output style4 min read · Models mirror the prompt: a bullet-heavy markdown prompt gets bullets back, plain prose gets prose
Start here
- Prompting best practices (Claude docs) (opens in a new tab)DocsFree
Anthropic's guide, with a section on controlling the format of responses.
- Structured model outputs (OpenAI API docs) (opens in a new tab)DocsFree
Explains JSON Schema-constrained responses and when they beat prompting alone.
- Structured output (Gemini API) (opens in a new tab)DocsFree
Google's page on schema-enforced JSON, with examples of typed fields.
Scenarios
Helps to know first
110 questions · last verified 2026-12