URL: /rules/core/meta-description

---
title: "Meta Description"
description: "Validates meta description presence and length"
---

Validates meta description presence and length

| | |
|---|---|
| **Rule ID** | `core/meta-description` |
| **Category** | [Core SEO](/rules/core) |
| **Scope** | Per-page |
| **Severity** | error |
| **Weight** | 7/10 |

## Solution

Meta descriptions should be 120-160 characters and provide a compelling summary of the page. While not a direct ranking factor, good descriptions improve click-through rates from search results. Write unique descriptions for each page that accurately preview the content. Include a call-to-action when appropriate. If missing, search engines will auto-generate snippets which may not represent your page optimally.

## Options

This rule supports the following configuration options:

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `min_length` | unknown | `undefined` | Minimum description length |
| `max_length` | unknown | `undefined` | Maximum description length |

### Configuration Example

```toml squirrel.toml
[rules."core/meta-description"]
min_length = undefined
max_length = undefined
```

## Enable / Disable

### Disable this rule

```toml squirrel.toml
[rules]
disable = ["core/meta-description"]
```

### Disable all Core SEO rules

```toml squirrel.toml
[rules]
disable = ["core/*"]
```

### Enable only this rule

```toml squirrel.toml
[rules]
enable = ["core/meta-description"]
disable = ["*"]
```
