---
title: "Check spelling in TinyMCE"
description: ""
canonical_url: "https://www.tiny.cloud/docs/tinymce/latest/spell-checking/"
md_url: "https://www.tiny.cloud/docs/tinymce/5/spell-checking/index.md"
version: "5"
last_updated: "2024-04-09T09:35:32Z"
tokens: 780
---
Important This page documents TinyMCE 5. For new projects, Tiny recommends using the latest, most up-to-date version. [See TinyMCE 8 documentation](../../latest/spell-checking/).
# Check spelling in TinyMCE

TinyMCE provides several options to bring spell checking capabilities to your users.

## Browser-based spell checking

Assign the [`browser_spellcheck`](../spelling/#browser_spellcheck) configuration option the value of `true` to utilize the browser’s native spell check functionality. Disabling the [`contextmenu`](../editor-appearance/#contextmenu) option *may* be required depending on the right-click or context usability requirement.

```js
tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  browser_spellcheck: true,
  contextmenu: false
});
```

> **Note:** When the TinyMCE context menu is *enabled*, users can still access the browser context menu, including the browser spellchecker, using the `Ctrl+Right click` shortcut. However, if the `contextmenu_never_use_native` option is enabled, holding the `Ctrl` key will have no effect.

## PHP Spellchecker component

> **Important:** The **free** TinyMCE Spell Checker plugin (`spellchecker`) was deprecated with the release of TinyMCE 5.4. For details, see [the free TinyMCE Spell Checker plugin deprecation notice](../release-notes54/#thefreetinymcespellcheckerplugin). The free Spell Checker plugin will be removed in TinyMCE 6.0.
You can also use TinyMCE’s PHP *Spellchecker* component, that you can [download here](http://download.moxiecode.com/spellcheckers/tinymce_spellchecker_php_4.0.zip). To view the complete changelog history, view this [`txt`](http://archive.tinymce.com/develop/changelog/?type=phpspell) file. The TinyMCE’s PHP Spellchecker component requires a little more work than the browser-based option, being a server-side script.

This plugin enables **Enchant** or **PSpell** on the server to spell check content within the TinyMCE editor.

### Installation steps for the default Enchant engine

1. Enable **Enchant** in PHP.
2. Download the **TinyMCE Spellchecker** for PHP package. [(Direct download)](http://download.moxiecode.com/spellcheckers/tinymce_spellchecker_php_4.0.zip).
3. Unpack the package in the `/path/to/tinymce/plugins/spellchecker` directory.
4. Configure TinyMCE to use the spell checker by enabling the `spellchecker` plugin.
5. Configure the `spellchecker_rpc_url` to `'spellchecker.php'`.
6. Download word lists and place them in the `/dicts` directory for example "es_ES.dic, es_ES.aff".

#### Example: Using the PHP spellchecker

```js
tinymce.init({
  selector: 'textarea',  // change this value according to your HTML
  plugins: 'spellchecker',
  toolbar: 'spellchecker',
  spellchecker_rpc_url: 'spellchecker.php'
});
```
Review the [Spell Checker plugin](../spellchecker/) for advanced configuration options.

## TinyMCE Spell Checker Pro plugin

Use the [Spell Checker Pro plugin](../introduction-to-tiny-spellchecker/) for scalable enterprise-grade spell check as-you-type functionality. **Spell Checker Pro** requires both a client-side plugin to be configured and a server-side component to be installed and configured.

Review the TinyMCE Premium Features [documentation for Spelling](../check-spelling/). Learn more about [TinyMCE Premium Products here](/pricing).
