Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

MaxLength

54,458 sites Security covered
View on drupal.org

The MaxLength module helps authors stay within character limits for titles, text fields, and link fields. It displays a character count to encourage concise content, and can be configured with soft or hard limits.

MaxLength allows a soft or hard character limit to be set on titles, text fields and link fields. A character count displays for authors, helping them write concise content.

About the MaxLength module

About the MaxLength module for Drupal 9/10/11

Maxlength 3.x Actively maintained and supported version for future improvements and new features. Supports CKEditor 5 and Drupal 10 and 11 versions.

Maxlength 2.1.x Maintained only for critical bugs. Supports CKEditor 4, CKEditor 5 and Drupal 9 and 10. Please note that CKEditor 4 reached its end of life! This version of MaxLength is not compatible with Drupal 11 versions. Boasts a more intuitive configuration interface than 1.0, the countdown message displays red when the maximum length is exceeded and short text fields have a soft limit. (read more)

About the MaxLength module for Drupal 7

Maxlength 7.x-3.3 Security fixes only. Less intuitive configuration interface, has several character count bugs.

We strongly encourage upgrading your website from Drupal 7 to Drupal 10.

Helper Module:
MaxLength Auto automatically enables MaxLength on fields with a #maxlength key.

Similar Module:
CKEditor Wordcount provides similar functionality but is only available on fields using CKEditor. Also the character limit is set on the text format rather than the field.

Activity

Total releases
6
First release
Jan 2025
Latest release
10 months ago
Releases (12 mo)
4 ▲ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
2.1.6 Stable Aug 28, 2025
3.1.3 Stable Aug 28, 2025
2.1.5 Stable Jul 25, 2025
3.1.2 Stable Jul 25, 2025
2.1.4 Stable Jan 31, 2025
3.1.1 Stable Jan 31, 2025