Free tool

Push notification preview

Type a title and message and see them on an iPhone lock screen, Android and a desktop browser, drawn at each screen's real width. The preview shows where each one cuts your text off, and how close the message is to the 4 KB limit Apple and Google enforce.

Free, no sign-up. Runs in your browser.

Payload size0 / 4,096 bytes

Apple and Google refuse anything over 4 KB.

iPhone lock screen

now

Android, collapsed

· now

Android, pulled down

· now

Desktop browser on a Mac

hailbell.com

Push notification character limits

There is no character limit in Apple's or Google's rules. There is a size limit on the whole message, and a screen that cuts the text off. That's why the same notification reads fine on one phone and gets cut mid-word on another.

WhereTitleMessageHard limit
iPhone lock screen and banner1 lineAbout 4 lines, then "…" (long-press shows it all)4 KB payload
Android, collapsed1 line1 line4 KB payload
Android, pulled down1 lineSeveral lines; varies by phone maker4 KB payload
Desktop browser (macOS banner)1 lineAbout 2 linesAbout 4 KB, less on some browsers

The lines are what matter, not a character count. A line holds about 35 to 45 characters on a phone, fewer with emoji or wide letters, more on a big screen. The preview above measures your actual text at each screen's width, so you can see the real cut-off instead of guessing from a number.

The 4 KB limit

Apple's push service (APNs) and Firebase Cloud Messaging both refuse a payload over 4,096 bytes. They don't shorten it for you: the send fails. The payload is more than your text. It holds the title, subtitle, message, sound, badge, a link, an image address and any data your app reads, all as JSON. Letters take 1 byte each, most accented letters 2, and most emoji 4 or more. A plain text notification is nowhere near the limit. A long message in a language like Hindi or Japanese plus a lot of custom data can be.

How to write one that gets read

  1. Put the reason to tap in the title. On Android's collapsed view, the title and one line are all anyone sees.
  2. Front-load the message. Assume only the first 40 characters will be read. Everything after that is a bonus.
  3. Use the person's name sparingly, with a fallback. {{first_name|there}} reads "Hi there" when you don't know the name, instead of "Hi ,".
  4. Check the length after filling in names. "Maximilian" is ten letters longer than "Al". The preview fills in the name you type, so test with a long one.
  5. Send it when people are awake. The best text still loses to a 3 a.m. buzz.

Where Hailbell fits

Hailbell sends push to iOS, Android and the web from one campaign, next to in-app support chat. Each campaign is previewed before it goes out, names fill in per person with a fallback, and it can send at each person's local time. It also comes with a 14-day free trial, no card needed. See how push works in Hailbell.

Questions

What is the character limit for a push notification?

Apple and Google don't set a character limit for the text. They limit the whole payload to 4 KB (4,096 bytes), and the screen decides how much is shown: one line of title, and on an iPhone lock screen about four lines of message before it is cut off. Android shows one line of message until the notification is pulled down.

How long should a push notification title be?

Short enough to fit on one line: about 30 to 40 characters on a phone. Put the reason to tap in the first few words, because Android's collapsed view shows only the title and one line of the message.

Do emoji take more space in a push notification?

On screen an emoji is about as wide as two letters. In the payload most emoji take 4 bytes and some take more than 20, which only matters if you are close to the 4 KB limit.

What happens if a push payload is over 4 KB?

It isn't sent. Apple's push service refuses it with PayloadTooLarge and Firebase with a message-too-big error. Nothing is cut down for you, so check the size before a campaign goes out.

Is what I type sent anywhere?

No. The preview runs in your browser. If you copy a share link, the text is in the part of the link after #, which browsers don't send to the server.

More free tools for app developers: all free tools. Questions about push? Start a chat with us.