Guides

Web push notification character limits

Browsers don’t publish hard limits. The operating system decides how much text fits. These are the lengths that stay readable almost everywhere.

Short answerKeep titles under about 40 characters and put the key point in the first 60 to 80 characters of the body. Android shows one body line when collapsed and less when an image is attached. Desktop Chrome on Windows shows more. Action button labels should stay under about 15 to 20 characters.

Safe lengths at a glance

ElementAim forWhy
TitleUnder 40 charactersFits one line on most Android phones
Body, first part60 to 80 charactersWhat shows on a collapsed Android notification
Body, totalUnder 120 charactersReadable on desktop without being cut
Action button labelUnder 15 charactersTwo buttons share one row
Hero image2:1 ratio, e.g. 720×360Chrome crops other shapes

These aren’t official numbers. Neither Google nor Apple publishes a hard character limit for web push text. What fits depends on the operating system, the screen, the font, whether the notification is expanded, and whether it has an image.

By platform

Chrome and Samsung Internet on Android

Collapsed, Android shows the title on one line and roughly one line of body text. Expanded (the visitor pulls it down), the body can run to several lines. With a large image, the collapsed view shows even less text. Write as if only the collapsed view will be read.

Chrome and Edge on Windows

Windows notifications show a longer title (up to two lines) and several lines of body text, plus the image and up to two buttons. This is the most generous layout.

macOS (Chrome, Firefox, Safari)

Banners show one line of title and about two lines of body text before truncating. Don’t count on images here: Safari and Firefox don’t display them, and whether Chrome does depends on the macOS notification style.

iPhone and iPad (Home Screen web apps)

The lock screen shows the title and a few lines of body text. Images and action buttons aren’t displayed. See iOS web push.

Firefox

Shows title, body and icon. Custom action buttons aren’t supported, so the main click URL must work on its own.

The technical limit

Push services limit the encrypted payload to about 4 KB. That covers your title, body, URLs, image address and any extra data. It is rarely a problem for text, but long tracking URLs and large custom data can hit it. SuperWicket limits titles to 100 characters and bodies to 300 before variables are filled in, which keeps payloads well inside the limit.

Writing to fit

  • Put the news in the title. “Price dropped: Trail Runner 2” beats “Good news!”.
  • Don’t repeat your site name. The browser already shows your domain and icon.
  • Front-load the body. The first five or six words are often all that’s read.
  • Use emojis sparingly. Many count as two or more characters and render differently across systems.
  • Use variables carefully. A first name or city can make a title much longer. Set a short fallback: {{custom.first_name|there}}.

Examples that fit

UseTitleBody
NewsRates held at 4.25%The central bank kept rates unchanged. What it means for mortgages.
StoreBack in stock: Linen shirtYour size (M) is available again. Free returns for 30 days.
SaaSYour export is readyQ3 orders.csv (2.4 MB) is ready to download for the next 24 hours.
EventsLive in 10 minutesAsk-me-anything with the design team starts at 18:00 CET.

Preview before you send

The quickest check is to send it to yourself. The push tester lets you send any title, body, icon and image to your own browser, and SuperWicket campaigns have a “send test to me” button.

Frequently asked questions

What is the maximum length of a web push notification?

There is no single maximum. The encrypted payload is limited to about 4 KB by push services, but the screen cuts the text off far earlier. Plan for about 40 characters of title and 80 to 120 characters of body.

How many action buttons can a web push have?

Chrome and Edge show up to two action buttons. Firefox and Safari don’t show custom action buttons, so the main click URL has to work on its own.

Do emojis count as characters?

Yes, and many count as two or more because of how they are encoded. Use them sparingly in titles.

Try it on your own site

The Free plan has no time limit and needs no card. Add one script tag, or share a hosted subscribe page if you can’t upload files.