# How to write technical documentation (/guides/style-and-tone)

<!-- agent-signals: reading_time_min: 9 · est_tokens: 3685 · updated: 2026-07-30 -->
Related: [How to create accessible documentation](/guides/accessibility.md), [Documentation content templates](/guides/content-templates.md), [Documentation content types](/guides/content-types.md), [Headless docs with a custom frontend](/guides/custom-frontend.md), [Build custom page layouts](/guides/custom-layouts.md), [Create developer documentation](/guides/developer-documentation.md)

Good technical documentation has one job: help users accomplish a goal and get back to work. Style and tone choices either support that goal or get in the way. Clear, consistent writing builds user trust. Inconsistent or unclear writing creates friction and erodes confidence in your product.

This guide covers the core principles behind effective technical writing, with practical guidance on how to apply them.

## Write in second person [#write-in-second-person]

Address users directly as "you." Second person makes instructions easier to follow and keeps the focus on what users are doing rather than what the product does.

```mdx
<!-- Second person (preferred) -->
You can configure the timeout in your settings file.

<!-- Third person (avoid) -->
Users can configure the timeout in the settings file.
```

Second person also helps expose passive voice: when you write "you," you're forced to say who does what.

## Use active voice [#use-active-voice]

Active voice makes sentences shorter and clearer. In passive voice, the subject receives the action. In active voice, the subject performs it.

```mdx
<!-- Active -->
The API returns an error when the token expires.

<!-- Passive -->
An error is returned when the token has expired.
```

Passive voice isn't always wrong. It's appropriate when the actor is unknown or unimportant. But passive voice as a default habit makes documentation harder to read.

{/* vale Mintlify.Passive = NO */}

A quick test: if you can add "by zombies" after the verb, the sentence is passive. "An error is returned \[by zombies]" is passive. "The API returns \[~~by zombies~~] an error" is active.

{/* vale Mintlify.Passive = YES */}

## Keep sentences and paragraphs short [#keep-sentences-and-paragraphs-short]

Users scan documentation more than they read it. Long sentences and dense paragraphs slow users down when they're trying to find a specific answer.

Guidelines:

* Aim for sentences under 25 words
* One idea per sentence
* Two to four sentences per paragraph
* Break up lists of steps with numbered sequences, not run-on prose

If a sentence requires multiple commas or semicolons to hold together, you can probably split it into two sentences.

## Use headings that match user intent [#use-headings-that-match-user-intent]

Headings organize the page for both humans and search engines. Write them to answer the question a user might have, not to label a topic from the product's perspective.

```mdx
<!-- Intent-oriented (better) -->
## How to configure authentication

<!-- Topic label (weaker) -->
## Authentication configuration
```

Use sentence case for all headings ("Getting started," not "Getting Started"). Don't skip heading levels—go from H2 to H3, not H2 to H4.

In Mintlify docs, the page's H1 generates automatically from the `title:` frontmatter property. Don't add a manual H1 in the body.

## Use consistent terminology [#use-consistent-terminology]

Pick one term for each concept and use it everywhere. Switching between "API key," "API token," and "access token" to describe the same thing forces users to stop and wonder whether you mean the same thing.

When introducing a term for the first time, define it in place rather than linking away.

```mdx
<!-- Define in context -->
Each request requires an API key—a unique token that identifies your account.

<!-- Don't assume prior knowledge -->
Each request requires an API key.
```

If your product has specific names for things (objects, actions, UI elements), use those names exactly as they appear in the product. Capitalize them consistently.

## Calibrate tone to your audience and content type [#calibrate-tone-to-your-audience-and-content-type]

Tone should match what users are trying to do. A getting started guide for new users benefits from a warmer, more encouraging tone. An API reference for experienced developers benefits from density and precision over warmth.

A few principles that apply across content types:

* **Be direct without being terse.** "Click Save" is better than "Please click the Save button when you're ready to proceed."
* **Avoid filler phrases.** "It's worth noting that," "In order to," "Please note that," and "Simply" add words without adding meaning.
* **Don't editorialize.** "This is a powerful feature" is an opinion. Document what it does, not how impressive it is.
* **Match user vocabulary.** If your users call it a "webhook," don't call it an "event callback" in the docs. Use the word they're already searching for.

## Avoid common mistakes [#avoid-common-mistakes]

### Jargon and internal terminology [#jargon-and-internal-terminology]

Teams develop shorthand that users never encounter. Review new content for terms that would be unfamiliar to someone seeing your product for the first time.

### Inconsistent capitalization [#inconsistent-capitalization]

Decide whether to capitalize your product's feature names ("the Dashboard," "the API Explorer") and apply it consistently. Inconsistent capitalization signals lack of attention to detail.

### Colloquialisms [#colloquialisms]

Informal phrases and idioms are harder to translate and harder to parse for non-native English speakers. Documentation that reaches an international audience benefits from plain, direct language.

### Spelling and grammar errors [#spelling-and-grammar-errors]

Even a few errors reduce credibility. They signal that no one reviewed the content carefully, which makes users wonder whether the technical content is equally unreliable.

## Enforce standards with tooling [#enforce-standards-with-tooling]

Writing principles only stick if they're part of a repeatable workflow. A few ways to automate enforcement:

* **[Vale](https://vale.sh):** A linter for prose that checks against configurable style rules. You can write rules that enforce your own terminology, flag passive voice, or catch common mistakes.
* **[CI checks](/deploy/ci):** Run Vale or other linters on every pull request to catch style issues before content merges.
* **Existing style guides:** Rather than writing rules from scratch, start from an established guide. The [Google Developer Documentation Style Guide](https://developers.google.com/style), [Microsoft Style Guide](https://learn.microsoft.com/en-us/style-guide/welcome/), and [Splunk Style Guide](https://docs.splunk.com/Documentation/StyleGuide/current/StyleGuide/Howtouse) are all free and widely used.

<Tip>
  Use an [automation](/automations) to run a style audit on a schedule or whenever changes push to your docs repository.
</Tip>

## Frequently asked questions [#frequently-asked-questions]

<AccordionGroup>
  <Accordion title="How formal should technical documentation be?">
    Match the formality to your audience and product context. Developer tools for engineers can be direct and lean—skip pleasantries and get to the code. Documentation for less technical users or enterprise products often benefits from a warmer tone that anticipates confusion. Either way, avoid stiff corporate language. "Utilize" doesn't add precision over "use." Write the way a knowledgeable colleague would explain something, not the way a legal document would describe it.
  </Accordion>

  <Accordion title="When is passive voice acceptable?">
    {/* vale Mintlify.Passive = NO */}

    When the actor is unknown, irrelevant, or when emphasizing the result is more important than who causes it. "The request is validated before processing" is fine if you're describing what happens to a request, not who validates it. Passive voice becomes a problem when it obscures who is responsible for an action the user needs to take.

    {/* vale Mintlify.Passive = YES */}
  </Accordion>

  <Accordion title="Should I write for beginners or experts?">
    Identify the primary audience for each page and write for them. A getting started guide should assume minimal prior knowledge. An API reference should assume the reader knows how APIs work. The mistake is trying to serve both in the same page—adding beginner context to a reference page slows experts down, and assuming expert knowledge in a tutorial loses beginners. If you genuinely have two distinct audiences, consider separate content types for each. See [Content types](/guides/content-types) for guidance.
  </Accordion>

  <Accordion title="How do I keep terminology consistent across a large documentation site?">
    Maintain a terminology list—a simple table of preferred terms and terms to avoid. Share it with everyone who contributes to docs and check it during review. Vale can enforce it automatically with a custom vocabulary file. The investment in maintaining a list pays off quickly in reduced review cycles and fewer user complaints about confusing terminology.
  </Accordion>

  <Accordion title="What's the right length for a documentation page?">
    Long enough to cover the topic completely, short enough to stay focused. If a page covers two distinct tasks, consider splitting it. If it covers one task but the content is thin, it may be missing important detail. Reference content can be long and dense—users scan it. Conceptual content should be shorter—users read it. See [Content types](/guides/content-types) for more on matching page length to content purpose.
  </Accordion>
</AccordionGroup>

## Related pages [#related-pages]

<CardGroup cols="2">
  <Card title="Content types" icon="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22;><path d=&#x22;M12 7V5.33333C12 4.55608 12 4.16746 12.1405 3.86607C12.2896 3.54646 12.5465 3.28958 12.8661 3.14054C13.1675 3 13.5561 3 14.3333 3C14.7406 3 14.9443 3 15.1321 3.04949C15.3321 3.10217 15.519 3.19563 15.6811 3.324C15.8334 3.44459 15.9556 3.6075 16.2 3.93333L17 5H18.5C19.4346 5 19.9019 5 20.25 5.20096C20.478 5.33261 20.6674 5.52197 20.799 5.75C21 6.09808 21 6.56538 21 7.5C21 8.43462 21 8.90192 20.799 9.25C20.6674 9.47803 20.478 9.66739 20.25 9.79904C19.9019 10 19.4346 10 18.5 10H15C13.5858 10 12.8787 10 12.4393 9.56066C12 9.12132 12 8.41421 12 7Z&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M12 18V16.3333C12 15.5561 12 15.1675 12.1405 14.8661C12.2896 14.5465 12.5465 14.2896 12.8661 14.1405C13.1675 14 13.5561 14 14.3333 14C14.7406 14 14.9443 14 15.1321 14.0495C15.3321 14.1022 15.519 14.1956 15.6811 14.324C15.8334 14.4446 15.9556 14.6075 16.2 14.9333L17 16H18.5C19.4346 16 19.9019 16 20.25 16.201C20.478 16.3326 20.6674 16.522 20.799 16.75C21 17.0981 21 17.5654 21 18.5C21 19.4346 21 19.9019 20.799 20.25C20.6674 20.478 20.478 20.6674 20.25 20.799C19.9019 21 19.4346 21 18.5 21H15C13.5858 21 12.8787 21 12.4393 20.5607C12 20.1213 12 19.4142 12 18Z&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M8 7H7C6.07003 7 5.60504 7 5.22354 6.89778C4.18827 6.62038 3.37962 5.81173 3.10222 4.77646C3 4.39496 3 3.92997 3 3&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M3 3V13C3 14.8692 3 15.8038 3.40192 16.5C3.66523 16.9561 4.04394 17.3348 4.5 17.5981C5.19615 18 6.13077 18 8 18&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/></svg>" href="/guides/content-types">
    Choose the right content type for your documentation goals.
  </Card>

  <Card title="Accessibility" icon="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22;><path d=&#x22;M17 8.5C17 5.73858 14.7614 3.5 12 3.5C9.23858 3.5 7 5.73858 7 8.5C7 11.2614 9.23858 13.5 12 13.5C14.7614 13.5 17 11.2614 17 8.5Z&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M19 20.5C19 16.634 15.866 13.5 12 13.5C8.13401 13.5 5 16.634 5 20.5&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/></svg>" href="/guides/accessibility">
    Make your documentation accessible to more users.
  </Card>

  <Card title="Format text" icon="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22;><path d=&#x22;M21.5 10V17M21.5 13.5C21.5 15.433 19.933 17 18 17C16.067 17 14.5 15.433 14.5 13.5C14.5 11.567 16.067 10 18 10C19.933 10 21.5 11.567 21.5 13.5Z&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M5.12734 10.0987L5.82827 10.3655V10.3655L5.12734 10.0987ZM1.79908 16.7332C1.6517 17.1203 1.84605 17.5536 2.23316 17.7009C2.62027 17.8483 3.05355 17.654 3.20092 17.2668L2.5 17L1.79908 16.7332ZM10.7991 17.2668C10.9464 17.654 11.3797 17.8483 11.7668 17.7009C12.154 17.5536 12.3483 17.1203 12.2009 16.7332L11.5 17L10.7991 17.2668ZM8.87266 10.0987L8.17173 10.3655V10.3655L8.87266 10.0987ZM4 13.25C3.58579 13.25 3.25 13.5858 3.25 14C3.25 14.4142 3.58579 14.75 4 14.75V14V13.25ZM10 14.75C10.4142 14.75 10.75 14.4142 10.75 14C10.75 13.5858 10.4142 13.25 10 13.25V14V14.75ZM5.12734 10.0987L4.42642 9.83181L1.79908 16.7332L2.5 17L3.20092 17.2668L5.82827 10.3655L5.12734 10.0987ZM11.5 17L12.2009 16.7332L9.57358 9.83181L8.87266 10.0987L8.17173 10.3655L10.7991 17.2668L11.5 17ZM5.12734 10.0987L5.82827 10.3655C6.23034 9.30935 6.50423 8.59494 6.75631 8.13531C7.02854 7.63894 7.10953 7.75 7 7.75V7V6.25C6.19747 6.25 5.73535 6.87751 5.44111 7.41402C5.12672 7.98727 4.81078 8.8222 4.42642 9.83181L5.12734 10.0987ZM8.87266 10.0987L9.57358 9.83181C9.18922 8.82219 8.87328 7.98727 8.55889 7.41402C8.26465 6.87751 7.80253 6.25 7 6.25V7V7.75C6.89047 7.75 6.97146 7.63894 7.24369 8.13531C7.49577 8.59494 7.76966 9.30934 8.17173 10.3655L8.87266 10.0987ZM4 14V14.75H10V14V13.25H4V14Z&#x22; fill=&#x22;currentColor&#x22;/></svg>" href="/create/text">
    Learn text formatting and styling options.
  </Card>

  <Card title="SEO best practices" icon="<svg xmlns=&#x22;http://www.w3.org/2000/svg&#x22; viewBox=&#x22;0 0 24 24&#x22; fill=&#x22;none&#x22;><path d=&#x22;M17 17L21 21&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/><path d=&#x22;M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z&#x22; stroke=&#x22;currentColor&#x22; stroke-linecap=&#x22;round&#x22; stroke-linejoin=&#x22;round&#x22; stroke-width=&#x22;1.5&#x22;/></svg>" href="/guides/seo">
    Improve documentation discoverability.
  </Card>
</CardGroup>
