---
url: 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/text-commands'
title: 'Rewrite text with AI | DXPR'
author:
  name: docs-sync
  url: 'https://dxpr.com/users/docs-sync'
date: '2026-10-23T14:31:17+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: 'Rewrite, shorten, lengthen or change the tone of a paragraph from the text toolbar'
tags:
  - 'Write and design with AI'
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-23T14:31:17+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: 'Rewrite text with AI'
      description: 'Rewrite, shorten, lengthen or change the tone of a paragraph from the text toolbar'
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-23T14:31:17+0000'
      dateModified: '2026-10-23T14:31:17+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/text-commands'
      articleSection: 'Write and design with AI'
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/text-commands'
      description: 'Rewrite, shorten, lengthen or change the tone of a paragraph from the text toolbar'
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: Home
            item: 'https://dxpr.com/'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: en
---
[Help Center](/hc)/[Documentation](/hc/documentation) /[Learn DXPR Builder](/hc/documentation/learn-dxpr-builder) /[Build pages](/hc/documentation/learn-dxpr-builder/build) /[Write and design with AI](/hc/documentation/learn-dxpr-builder/ai) # Rewrite text with AI.

Rewrite, shorten, lengthen or change the tone of a paragraph from the text toolbar

 Learn DXPR BuilderBuild pagesWrite and design with AI

   ## In this guide

 Related guides

- [Page creation](/hc/documentation/learn-dxpr-builder/ai/page-creation)
- [Inline text editing](/hc/documentation/learn-dxpr-builder/editing/inline-text-editing)
- [Configuration](/hc/documentation/learn-dxpr-builder/ai/configuration)

Make a paragraph friendlier, shorter or simpler without leaving the page. You pick a tone, select the text and choose a command; the AI rewrites the selection in place. Use this for one paragraph or a few sentences. To change a whole section, use **Edit with AI** in its **More** menu instead. The video rewrites an Open Day announcement in an approachable tone.

  ## Before you start

- AI is switched on, with **Enable text editing assistant** ticked. See [Turn on AI in DXPR Builder](/hc/documentation/learn-dxpr-builder/ai/setup).
- The page has a Text element with the paragraph you want to change.

## Set up

1. Click the paragraph on the page. The text toolbar appears above it.
2. Click **Tone of voice** and choose a tone, for example **Approachable**.
3. Select the sentences you want to change.
4. Click the arrow next to **AI Agent** and choose **Improve Tone of Voice**.
5. Click outside the text when the new text is in place.
6. Click **Save** on the builder toolbar.

If you select nothing in step 3, the command works on all the text of the element.

## What you see

The new text replaces your selection, in the tone you chose. For a long text, a **Cancel Generation** button shows in the toolbar while the AI writes. The tone stays chosen for your next commands in this browser. Not happy with the result? Click **Undo** in the toolbar to get the old text back.

## Commands

| Command | What it does |
|---|---|
| **Polish** | Fixes spelling and grammar and applies good writing practice, keeping the meaning |
| **Improve Tone of Voice** | Rewrites the text in the tone chosen under **Tone of voice**, keeping the key message |
| **Make Shorter** | Removes repeated, redundant or non-essential words |
| **Make Longer** | Adds description and detail |
| **Simplify Language** | Makes the text easier to read |
| **Summarize** | Condenses the text into one paragraph with the key points |
| **Continue** | Writes on from the end of the text |

**Tone of voice** offers these tones:

- **Default tone**: no tone instruction
- **Professional**, **Educational**, **Persuasive**, **Approachable**, **Formal** and **Inspirational**

Your site administrator can change both lists, see [AI configuration](/hc/documentation/learn-dxpr-builder/ai/configuration#tone-and-commands).

## Ask in your own words

For anything the commands do not cover, type an instruction in the **Ask AI to edit** box at the top of the **AI Agent** menu, for example "Translate into Dutch". Then click **Submit** or press Ctrl+Enter (Cmd+Enter on a Mac). The instruction works on your selection, like a command.

You can also type `/` at the start of an empty line, then your instruction, and press Enter. The AI writes its answer in that place. Press Ctrl+/ (Cmd+/ on a Mac) to start such a prompt in the middle of a text.

## If you don't see the AI text

- **The toolbar has no AI Agent or Tone of voice button.** **Enable text editing assistant** is off, or your user profile sets its own text editor buttons. Tick the setting at `/admin/dxpr_studio/dxpr_builder/ai_settings`, or add **AI Assistant** and **AI Tone of Voice** under **Text editor buttons (inline editing)** in your profile at **DXPR Studio** &gt; **DXPR Builder** &gt; **User Profiles**.
- **The commands in the AI Agent menu are greyed out.** The text element is empty. Type or paste some text first.
- **A message says "AI service is currently unavailable. Please try again later."** The site could not get an answer from DXPR. Try again in a minute. If it keeps failing, check the key and your credits as described in [AI troubleshooting](/hc/documentation/learn-dxpr-builder/ai/troubleshooting).
- **The text comes back in the wrong tone.** **Default tone** or another tone is still chosen. Open **Tone of voice**: the tick shows the current tone.

## What's next?

- [Draft a page with AI](/hc/documentation/learn-dxpr-builder/ai/page-creation): write a whole page from a short brief.
- [Inline text editing](/hc/documentation/learn-dxpr-builder/editing/inline-text-editing): format the new text by hand.
- [AI configuration](/hc/documentation/learn-dxpr-builder/ai/configuration): add your own tones and commands.