Module Description
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
Maxlength 2.1 Actively maintained and improving. Supports CKEditor 4, CKEditor 5 and Drupal 8, 9 and 10. 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)
Maxlength 2.0 Maintained for critical bugs only. Supports CKEditor 4 only. We encourage you to update to MaxLength 2.1
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 9.
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.
Module Link
Project Usage
39686
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The MaxLength module aims to solve the problem of setting character limits on titles, text fields, and link fields, while providing authors with a character count to help them write concise content.
Data Name
maxlength