Learn/Prompt Engineering/Intermediate Techniques
6 of 18

Output Formatting — Get Exactly the Structure You Need

5 min read

Tell AI HOW to Answer, Not Just WHAT to Answer

Here's a pattern I see constantly: someone gets a great answer from AI but in the wrong format. They wanted bullet points, they got paragraphs. They wanted a table, they got a list. They wanted three sentences, they got three pages. Format instructions are the most underused part of prompting — and they're the easiest to add.

Format Instructions That Work

1

Length constraints

"In 3 sentences," "under 200 words," "one paragraph," "a single page." Always specify length or you'll get the AI's default (which is usually too long).

2

Structure requests

"As a bullet list," "in a numbered list," "as a table with columns for X, Y, Z," "in Q&A format," "as an email." Name the exact structure.

3

Section headers

"Use these sections: Overview, Key Findings, Recommendations, Next Steps." When you define the sections, the AI fills them in. This works amazingly well for reports and documents.

4

Examples of the format

"Format each item like this: [Tool Name] — [What it does] — [Best for] — [Cost]." Show the AI exactly what the output structure should look like.

Real Format Examples

Your Prompt

Compare the top 3 project management tools for a 10-person team. Present as a table with these columns: Tool | Best For | Price/User/Month | Biggest Limitation. Then add a one-sentence recommendation at the end.

AI Response

[A clean, scannable comparison table followed by a clear recommendation — ready to paste into a Slack message or email]

Why this works: Specifying the exact columns ensures you get the comparison dimensions you care about. The table format is immediately shareable. The one-sentence recommendation saves the reader from making their own conclusion.

Your Prompt

Analyze this quarterly sales data and give me: 1. **One headline** (the most important finding, 10 words or less) 2. **Three key trends** (one sentence each) 3. **One concern** (what should worry us) 4. **One recommendation** (specific action to take next quarter) [paste data]

AI Response

[A perfectly structured analysis that's easy to scan, present, or forward to leadership]

Why this works: The numbered format with bold labels creates a template the AI fills in. Each section has a built-in length constraint. This format is designed to be directly presentable to leadership.

The copy-paste test

When writing a prompt, ask yourself: "Could I copy-paste the output directly into where I need it?" If not, add format instructions until the answer is yes. The goal is output that requires zero reformatting.

Advanced: Markdown and Structured Output

For more technical users: AI tools understand markdown formatting, so you can request headers (##), bold (text), tables, code blocks, and even nested lists. If you work in tools that render markdown (Notion, GitHub, Slack), you can get perfectly formatted output that pastes in ready to go.

You can also ask for structured formats like JSON, CSV, or XML if you need to feed AI output into other tools or spreadsheets. "Give me the results as a CSV with columns: name, category, score" — and the output is ready to import into Google Sheets.

Quick Check

You need to present AI analysis to your CEO. What format instruction gives the most executive-friendly output?

Key Takeaway

Always specify format: length, structure, and sections. The copy-paste test is your guide — if you can use the output immediately without reformatting, your prompt is good enough.