The maximum payload size for a web push notification is 4,096 bytes after encryption. RFC 8030 requires push services to accept at least that much, and RFC 8291 encryption overhead leaves at most 3,993 bytes for your actual data. Firebase Cloud Messaging and Apple’s web push service both cap payloads at 4 KB.
Payload size rarely matters until a push fails with a “413 Payload Too Large” error. Then it matters a lot. In this guide I explain where the 4 KB number comes from, what counts toward it, what happens when you go over, and how to keep rich notifications well under the limit.
What is the maximum web push payload size?
The maximum web push payload size you can rely on is 4,096 bytes of encrypted data. RFC 8030, the HTTP Web Push protocol, says push services “MUST NOT return a 413 status code in responses to an entity body that is 4096 bytes or less in size”. So 4,096 bytes is the safe ceiling across browsers.
Because payloads are encrypted, your usable space is smaller. RFC 8291, which defines web push message encryption, works out the maths: subtract an 86-byte header, at least 1 byte of padding and 16 bytes for the AES-GCM authentication tag. That leaves at most 3,993 bytes of plaintext.
Key facts at a glance:
- Encrypted body limit: 4,096 bytes (RFC 8030).
- Usable plaintext: up to 3,993 bytes (RFC 8291).
- Firebase Cloud Messaging (FCM): maximum payload of 4,096 bytes; messages sent from the Firebase console are limited to 1,000 characters.
- Apple Push Notification service (APNs) for web push: returns PayloadTooLarge when the payload is over 4 KB.
- Images: not part of the payload; you send an image URL.
Which push services use which limits?
Every major browser push service works to the same 4 KB ceiling, so you don’t need a separate limit per browser. This table summarises the official documentation, checked on November 25, 2026:
| Push service | Used by | Payload limit | Source |
|---|---|---|---|
| Firebase Cloud Messaging | Chrome and Opera, including Chrome on Android | 4,096 bytes (1,000 characters from the Firebase console) | FCM message types |
| Apple Push Notification service | Safari on macOS, iPhone and iPad | 4 KB | Apple web push docs |
| Any RFC 8030 push service | Standard Web Push protocol | Must accept 4,096 bytes | RFC 8030 |
Microsoft Edge uses Microsoft’s own push endpoint, and Mozilla runs the push service for Firefox. Both follow the Web Push protocol, so the 4,096-byte rule from RFC 8030 is the number to design for.
What counts toward the payload limit?
Everything your server encrypts and sends counts toward the limit, which usually means a JSON object. Typically that’s the title, body, icon URL, image URL, click URL, button labels and any custom data your service worker reads. The JSON keys, quotes and brackets count too.
Here’s a typical payload:
{
"title": "Price drop: Trail Runner 2",
"body": "Now $79 for the next 24 hours.",
"icon": "https://example.com/icons/192.png",
"image": "https://example.com/img/trail-runner-2.jpg",
"url": "https://example.com/p/trail-runner-2?utm_source=push",
"actions": [{"action": "buy", "title": "Buy now"}]
}That’s roughly 300 bytes, well under the limit. In practice, you’d have to work hard to reach 3,993 bytes with a normal campaign. Problems usually come from long tracking strings, base64-encoded images, or whole HTML snippets stuffed into the data field.
Do images count toward the payload size?
No, images don’t count, because you send a URL rather than the image itself. The browser downloads the icon, badge and large image when it displays the notification. So a 150 KB banner image costs you only the length of its URL in the payload.
Never put a base64-encoded image into the payload. Even a tiny icon encoded that way can take several kilobytes and push you over the limit. My guide on how to add images to web push notifications covers the right sizes and formats.
What happens if a push payload is too large?
If a payload is too large, the push service rejects the request, and the notification is never delivered. Under RFC 8030, a push service may return HTTP 413 (Payload Too Large) for bodies over 4,096 bytes. Apple’s documentation lists a PayloadTooLarge error for web push payloads over 4 KB.
The important point is that nothing reaches the subscriber. Your server gets an error, and the browser never sees the message. So log push errors per subscriber and per campaign. My guide on debugging web push in Chrome DevTools shows how to inspect what the service worker actually receives.
Is there a character limit as well as a byte limit?
Yes, in practice the display limits are much tighter than the byte limit. The payload can hold nearly 4,000 bytes, but browsers truncate long titles and bodies on screen, and the cut-off varies by browser and operating system. Text that gets cut off wastes the extra bytes anyway.
Also remember that bytes aren’t characters. In UTF-8, plain English letters take 1 byte each, while many accented letters take 2 bytes and characters in scripts such as Hindi, Chinese or Japanese take 3 bytes. Emoji usually take 4. So a 1,000-character message in Hindi can use about 3,000 bytes. My post on the character limit for push notifications covers what each browser shows.
How do you send more data than 4 KB?
You send more data than 4 KB by putting an ID in the payload and fetching the rest when the push arrives. The service worker’s push handler can call fetch() to load the full content from your server, then show the notification. The push itself stays tiny.
A safe pattern looks like this:
- Send a small payload with a message ID and a fallback title.
- In the push handler, fetch the full message from your API using the ID.
- Show the notification with the fetched content, or the fallback if the request fails.
- Wrap the whole thing in event.waitUntil() so the browser keeps the service worker alive.
Push without any payload is also allowed. However, Chrome requires every push to show a visible notification, so you still need content to display. My guide to the service worker for web push explains the push handler in detail.
Where LaraPush fits
LaraPush is a self-hosted web push panel that you run on your own VPS, with a one-time licence from $499 (check LaraPush pricing). It delivers through Firebase Cloud Messaging, so the same 4,096-byte payload limit applies. In day-to-day use you work with campaign fields such as title, message, image, link, icon and up to two CTA buttons, which sit far below the limit. The features page lists the full set. The trade-offs are no free plan and a server you maintain. For other options, see my roundup of the best push notification services and tools.
Frequently asked questions
It’s 4,096 bytes of encrypted data, not characters. After encryption overhead, RFC 8291 leaves at most 3,993 bytes for your content. In UTF-8 that’s about 3,993 plain English characters but far fewer characters in scripts like Hindi or Japanese, which take 3 bytes each.
No. You include an image URL in the payload, and the browser downloads the image when it shows the notification. Only the length of the URL counts toward the 4 KB limit. Don’t embed base64-encoded images, because they can easily exceed the limit.
Push services that follow RFC 8030 may return HTTP 413 Payload Too Large for bodies over 4,096 bytes. Apple’s web push service documents a PayloadTooLarge error for payloads over 4 KB. In both cases the notification isn’t delivered, so log and monitor push errors.
Yes. The Web Push protocol allows a push with no body, and the service worker can fetch content from your server when it wakes up. Chrome still expects a visible notification for every push, so the handler must show something even if the fetch fails.
Firebase documents a maximum payload of 4,096 bytes for both notification and data messages, except for messages sent from the Firebase console, which are limited to 1,000 characters. That matches the 4,096-byte rule in RFC 8030 for web push.




