Animated gif showing how the character count reduces as an author types in the text field.

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 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.

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.

Supporting organizations: 
Current maintainers
Ported module to Drupal 8

Project information

Releases