What is the optimal length for every web push notification?
Depending on your users' browser and OS, the way web push notifications are displayed may change.
Each browser has its own set of standards when it comes to the number of characters allowed in their web push notifications.
We advise you to follow these ground rules to be as comprehensible as possible:
Title: 15-40 characters max (space included)
Body: 140–180 characters max (space included)
As a general standard, you should try to keep your title and your body message as short as possible. Your title must be impactful to attract users. Moreover, we advise you to test your message on different devices and see how your message is displayed before sending it to your users. You can see how to send yourself a web push test by following this testing guide.
Here is a breakdown of every browser's character limit per OS:
Windows 10+
Chrome and Chromium-based browsers
Google Chrome, Microsoft Edge, Opera and other Chromium-based browsers use the same Windows 10 native format for notifications. Notifications not opened yet will be placed in the notification center.
Title: Up to 70 characters (space included), split into two lines of text.
Body: Up to 140 characters (space included), split into four lines of text.
Image: Displayed as a landscape image both when the notification is received and stored in the notification center.

Firefox
Firefox uses a non-native format on Windows. As a result, the content is displayed differently, and notifications are not stored in the notification center.
Title: Up to 50 characters (space included), on one line of text.
Body: Up to 200 characters (space included), split into four lines of text.
Image: Firefox doesn't display images in notifications.

MacOS
Firefox, Chrome, and other Chromium-based browsers use MacOS' native notification format. Unread notifications are stored in the notification centre.
Title: Up to 35 characters (space included), on one line of text.
Body: Up to 40 characters (space included), on one line of text. MacOS displays two lines of text for each notification in the notifications centre (75 characters).
Image: MacOS doesn't display images in notifications.

Android
Notifications use Android's native format, used by apps too. New notifications will be displayed on the locked screen of the device and in the notification centre.
Title: Up to 40 characters (space included), on one line of text.
Body: Android will display one line of text when notifications are collapsed (around 50 characters). The message will be entirely displayed once unfolded.
Image: Displayed as a landscape image. Users need to expand the notification to see the image. Please note that Android will only display one line of text in the body of your notification if you include an image.

Last updated
Was this helpful?