# How to increase tag description length?

**URL:** https://meta.discourse.org/t/how-to-increase-tag-description-length/241463
**Category:** Support
**Created:** [October 10, 2022, 9:32am UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463 "2022-10-10T09:32:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![carbonrich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carbonrich/32/274219_2.png) [@carbonrich](https://meta.discourse.org/u/carbonrich)
#### Post date: [October 10, 2022, 9:32am UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463/1 "2022-10-10T09:32:58Z")

</div>

Is it possible to increase this from 280 characters?

Coded as:

`validates :description, length: { maximum: 280 }`

here:

[https://github.com/discourse/discourse/blob/main/app/models/tag.rb](https://github.com/discourse/discourse/blob/main/app/models/tag.rb)

---

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [October 13, 2022, 9:53pm UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463/2 "2022-10-13T21:53:46Z")

</div>

Hi Richard,

The `max tag length` site setting controls the maximum number of characters that can be used in a single tag.

You should be able to use this setting to increase the number of characters that you can have on a tag, up to a maximum of 2,000,000,000 characters!

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/8/c/78c2f615d832dc0a68e7a2d21a34ae2fc36a8b32.png)

I hope that helps. 🙂

---

<div class="post-metadata">

### Author: ![carbonrich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carbonrich/32/274219_2.png) [@carbonrich](https://meta.discourse.org/u/carbonrich)
#### Post date: [October 13, 2022, 10:20pm UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463/3 "2022-10-13T22:20:18Z")

</div>

Thanks Alex, is that setting not for the tag\_title though?

I’m looking for a way to increase the length of the tag\_description…

---

<div class="post-metadata">

### Author: ![SaraDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saradev/32/335139_2.png) [@SaraDev](https://meta.discourse.org/u/SaraDev)
#### Post date: [October 13, 2022, 10:57pm UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463/4 "2022-10-13T22:57:54Z")

</div>

The tag description length is hardcoded into Discourse, so if you wanted to change this value you would need to edit that line in the code on your Discourse instance and then rebuild Discourse.

```plaintext
cd /var/discourse
./launcher rebuild app

```

Alternatively, you could create a plugin to expose that setting on the admin settings menu, and then update it as needed.

> [@Developing Discourse Plugins - Part 3 - Add custom site settings](https://meta.discourse.org/t/developing-discourse-plugins-part-3-add-custom-site-settings/31115):
>
> Previous tutorial: [Developing Discourse Plugins - Part 2 - Connect to a plugin outlet](https://meta.discourse.org/t/developing-discourse-plugins-part-2-connect-to-a-plugin-outlet/31001)Site Settings If you visit /admin/site\_settings on a Discourse you have administrator capabilities on, you’ll see a list of configuration settings. Out of the box, we provide what we think are the best settings for a Discourse install, but we also understand that people want to tweak their installations to make their forum just the way they want it. Chances are, unless your plugin is very simple, you’ll want…

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 12, 2022, 10:58pm UTC](https://meta.discourse.org/t/how-to-increase-tag-description-length/241463/5 "2022-11-12T22:58:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
