The Vale module checks the prose in your text fields against a style guide, with the Vale linter. An error stops the save and is marked on the field. Warnings and suggestions are shown to the author, and the content saves.
Vale applies rules for style, tone and terminology. Write your own, or use a published style such as Microsoft, Google, write-good or proselint.
Authors also see the findings while they type, before they save. Vale's browser build checks the text in their own browser, with the site's styles.
Features:
- Checks every save that validates: forms, JSON:API, REST and workspace publishing.
- Lists every error in a value at once, each starting with its field's label.
- Shows findings while the author types: marks in CKEditor 5, and a list under text areas and text fields.
- Checks in the author's browser with Vale's WebAssembly build, and on the server when the browser cannot.
- Checks each translation in its own language, with Vale 3.27.0 or later.
- Checks the text in the components of Canvas pages, and an error refuses the publish.
- Reads Markdown as Markdown and HTML as HTML, so code is not checked as prose.
- Per field: a minimum level, a level for any rule, and a profile that
.vale.inisections match. - Publish-only mode, so drafts save with their errors. It follows Content Moderation.
- Checks a workspace's changes before it is published, and can block the publish.
- A report of the alerts in stored content, with filters and a CSV export.
- Commands for CI under core's
dror Drush:vale:lintexits with 1 on an error. vale:installdownloads Vale and its browser build, checked against the release's checksums, andvale:syncdownloads the styles your.vale.ininames.- A check endpoint that returns the alerts a save would give, for editors and frontends.
- Paragraphs: opted-in fields on paragraphs are checked, and publishing a page checks its paragraphs.
Requirements:
- PHP 8.3 or later
- Drupal 10.3, 11 or 12
- Vale 3 on every web server and in the CLI container, with the styles your
.vale.iniuses. The browser check needs Vale 3.26.0 or later and PHP's zip extension, and checking languages other than English needs Vale 3.27.0 or later.
Usage/Configuration:
Install Vale with drush vale:install and add a .vale.ini beside your web root. Point the site at both in settings.php:
$settings['vale_binary'] = $app_root . '/../bin/vale'; $settings['vale_config'] = $app_root . '/../.vale.ini';
Run drush vale:sync to download the styles it names. Then turn on Check with Vale for each field you want checked.
Example: Structure > Content types > Basic page > Manage fields > Body > Prose checks
The site settings, such as publish-only mode and the Canvas check, are at Configuration > Content authoring > Vale.
The README and its docs cover the permissions, the content report, the commands, the browser check, languages, Canvas, hosting, JSON:API and the check endpoint.
Frequently Asked Questions:
-
Why are the paths in settings.php and not in the admin UI?
Vale's script rules run code, so a ruleset belongs in your codebase. The module never accepts a binary path or a ruleset through the site. -
Does it detect text written by AI?
No. It checks style. Some Vale styles flag phrases that AI tools overuse, and the module applies them like any other rule. -
What happens if Vale is missing, times out or fails?
Content saves, and the author is told it was not checked.drush vale:lintand workspace blocking fail instead, so an unchecked deploy does not pass. Turn on Refuse a save when Vale cannot check its text to refuse the save too. -
Does the browser check replace the check on save?
No. The save is still the authority, and the server checks every save. The browser check only shows the findings sooner. -
Does it check Canvas pages?
Yes, from 1.1.0, with Canvas 1.13 or later on Drupal 11.3 or later. Turn it on at the Canvas tab of the settings form. An error refuses the publish, and Canvas's review panel links it to its component.
Ask your assistant about Vale
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 10–11 | PHP 8.3 | Dec 1, 2026 | |
| 1.1.x-dev | Dev | 10–11 | PHP 8.3 | Nov 29, 2026 | |
| 1.0.2 | Stable | 10–11 | PHP 8.3 | Nov 18, 2026 | |
| 1.0.1 | Stable | 10–11 | PHP 8.3 | Oct 31, 2026 | |
| 1.0.0 | Stable | 10–11 | PHP 8.3 | Oct 28, 2026 | |
| 1.0.0-beta1 | Pre-release | 10–11 | PHP 8.3 | Oct 21, 2026 | |
| 1.0.x-dev | Dev | 10–11 | PHP 8.3 | Oct 21, 2026 |