{"id":3559,"date":"2026-11-25T10:13:26","date_gmt":"2026-11-25T04:43:26","guid":{"rendered":"https:\/\/larapush.com\/blog\/?p=3559"},"modified":"2026-11-25T10:13:26","modified_gmt":"2026-11-25T04:43:26","slug":"web-push-payload-size-limit","status":"publish","type":"post","link":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/","title":{"rendered":"What Is the Maximum Payload Size for a Web Push Notification?"},"content":{"rendered":"\n<p><strong>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&#8217;s web push service both cap payloads at 4 KB.<\/strong><\/p>\n\n\n\n<p>Payload size rarely matters until a push fails with a &#8220;413 Payload Too Large&#8221; 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.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#What_is_the_maximum_web_push_payload_size\" title=\"What is the maximum web push payload size?\">What is the maximum web push payload size?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#Which_push_services_use_which_limits\" title=\"Which push services use which limits?\">Which push services use which limits?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#What_counts_toward_the_payload_limit\" title=\"What counts toward the payload limit?\">What counts toward the payload limit?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#Do_images_count_toward_the_payload_size\" title=\"Do images count toward the payload size?\">Do images count toward the payload size?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#What_happens_if_a_push_payload_is_too_large\" title=\"What happens if a push payload is too large?\">What happens if a push payload is too large?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#Is_there_a_character_limit_as_well_as_a_byte_limit\" title=\"Is there a character limit as well as a byte limit?\">Is there a character limit as well as a byte limit?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#How_do_you_send_more_data_than_4_KB\" title=\"How do you send more data than 4 KB?\">How do you send more data than 4 KB?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#Where_LaraPush_fits\" title=\"Where LaraPush fits\">Where LaraPush fits<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#Frequently_asked_questions\" title=\"Frequently asked questions\">Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_the_maximum_web_push_payload_size\"><\/span>What is the maximum web push payload size?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The maximum web push payload size you can rely on is 4,096 bytes of encrypted data. <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8030#section-7.2\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 8030<\/a>, the HTTP Web Push protocol, says push services &#8220;MUST NOT return a 413 status code in responses to an entity body that is 4096 bytes or less in size&#8221;. So 4,096 bytes is the safe ceiling across browsers.<\/p>\n\n\n\n<p>Because payloads are encrypted, your usable space is smaller. <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8291#section-4\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 8291<\/a>, 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.<\/p>\n\n\n\n<p>Key facts at a glance:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Encrypted body limit:<\/strong> 4,096 bytes (RFC 8030).<\/li>\n\n\n\n<li><strong>Usable plaintext:<\/strong> up to 3,993 bytes (RFC 8291).<\/li>\n\n\n\n<li><strong>Firebase Cloud Messaging (FCM):<\/strong> maximum payload of 4,096 bytes; messages sent from the Firebase console are limited to 1,000 characters.<\/li>\n\n\n\n<li><strong>Apple Push Notification service (APNs) for web push:<\/strong> returns PayloadTooLarge when the payload is over 4 KB.<\/li>\n\n\n\n<li><strong>Images:<\/strong> not part of the payload; you send an image URL.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Which_push_services_use_which_limits\"><\/span>Which push services use which limits?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Every major browser push service works to the same 4 KB ceiling, so you don&#8217;t need a separate limit per browser. This table summarises the official documentation, checked on November 25, 2026:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Push service<\/th><th>Used by<\/th><th>Payload limit<\/th><th>Source<\/th><\/tr><\/thead><tbody><tr><td>Firebase Cloud Messaging<\/td><td>Chrome and Opera, including Chrome on Android<\/td><td>4,096 bytes (1,000 characters from the Firebase console)<\/td><td><a href=\"https:\/\/firebase.google.com\/docs\/cloud-messaging\/customize-messages\/set-message-type\" target=\"_blank\" rel=\"noreferrer noopener\">FCM message types<\/a><\/td><\/tr><tr><td>Apple Push Notification service<\/td><td>Safari on macOS, iPhone and iPad<\/td><td>4 KB<\/td><td><a href=\"https:\/\/developer.apple.com\/documentation\/usernotifications\/sending-web-push-notifications-in-web-apps-and-browsers\" target=\"_blank\" rel=\"noreferrer noopener\">Apple web push docs<\/a><\/td><\/tr><tr><td>Any RFC 8030 push service<\/td><td>Standard Web Push protocol<\/td><td>Must accept 4,096 bytes<\/td><td><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8030\" target=\"_blank\" rel=\"noreferrer noopener\">RFC 8030<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Microsoft Edge uses Microsoft&#8217;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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_counts_toward_the_payload_limit\"><\/span>What counts toward the payload limit?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Everything your server encrypts and sends counts toward the limit, which usually means a JSON object. Typically that&#8217;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.<\/p>\n\n\n\n<p>Here&#8217;s a typical payload:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"title\": \"Price drop: Trail Runner 2\",\n  \"body\": \"Now $79 for the next 24 hours.\",\n  \"icon\": \"https:\/\/example.com\/icons\/192.png\",\n  \"image\": \"https:\/\/example.com\/img\/trail-runner-2.jpg\",\n  \"url\": \"https:\/\/example.com\/p\/trail-runner-2?utm_source=push\",\n  \"actions\": [{\"action\": \"buy\", \"title\": \"Buy now\"}]\n}<\/code><\/pre>\n\n\n\n<p>That&#8217;s roughly 300 bytes, well under the limit. In practice, you&#8217;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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Do_images_count_toward_the_payload_size\"><\/span>Do images count toward the payload size?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>No, images don&#8217;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.<\/p>\n\n\n\n<p>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 <a href=\"https:\/\/larapush.com\/blog\/add-images-to-web-push-notifications\/\">add images to web push notifications<\/a> covers the right sizes and formats.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_happens_if_a_push_payload_is_too_large\"><\/span>What happens if a push payload is too large?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>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&#8217;s documentation lists a PayloadTooLarge error for web push payloads over 4 KB.<\/p>\n\n\n\n<p>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 <a href=\"https:\/\/larapush.com\/blog\/debug-web-push-in-chrome-devtools\/\">debugging web push in Chrome DevTools<\/a> shows how to inspect what the service worker actually receives.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Is_there_a_character_limit_as_well_as_a_byte_limit\"><\/span>Is there a character limit as well as a byte limit?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Also remember that bytes aren&#8217;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 <a href=\"https:\/\/larapush.com\/blog\/character-limit-of-push-notifications\/\">character limit for push notifications<\/a> covers what each browser shows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_do_you_send_more_data_than_4_KB\"><\/span>How do you send more data than 4 KB?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>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&#8217;s push handler can call fetch() to load the full content from your server, then show the notification. The push itself stays tiny.<\/p>\n\n\n\n<p>A safe pattern looks like this:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Send a small payload with a message ID and a fallback title.<\/li>\n\n\n\n<li>In the push handler, fetch the full message from your API using the ID.<\/li>\n\n\n\n<li>Show the notification with the fetched content, or the fallback if the request fails.<\/li>\n\n\n\n<li>Wrap the whole thing in event.waitUntil() so the browser keeps the service worker alive.<\/li>\n<\/ol>\n\n\n\n<p>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 <a href=\"https:\/\/larapush.com\/blog\/service-worker-for-web-push\/\">service worker for web push<\/a> explains the push handler in detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_LaraPush_fits\"><\/span>Where LaraPush fits<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>LaraPush is a self-hosted web push panel that you run on your own VPS, with a one-time licence from $499 (check <a href=\"https:\/\/larapush.com\/pricing\/\">LaraPush pricing<\/a>). 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 <a href=\"https:\/\/larapush.com\/features\/\">features page<\/a> lists the full set. The trade-offs are no free plan and a server you maintain. For other options, see my roundup of the <a href=\"https:\/\/larapush.com\/blog\/best-push-notification-services-and-tools\/\">best push notification services and tools<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1764063000000\"><strong class=\"schema-faq-question\">Is the web push payload limit 4 KB or 4,000 characters?<\/strong> <p class=\"schema-faq-answer\">It&#8217;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&#8217;s about 3,993 plain English characters but far fewer characters in scripts like Hindi or Japanese, which take 3 bytes each.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764063001111\"><strong class=\"schema-faq-question\">Does the image size affect the web push payload?<\/strong> <p class=\"schema-faq-answer\">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&#8217;t embed base64-encoded images, because they can easily exceed the limit.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764063002222\"><strong class=\"schema-faq-question\">What error do I get when a push payload is too big?<\/strong> <p class=\"schema-faq-answer\">Push services that follow RFC 8030 may return HTTP 413 Payload Too Large for bodies over 4,096 bytes. Apple&#8217;s web push service documents a PayloadTooLarge error for payloads over 4 KB. In both cases the notification isn&#8217;t delivered, so log and monitor push errors.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764063003333\"><strong class=\"schema-faq-question\">Can I send a web push notification without a payload?<\/strong> <p class=\"schema-faq-answer\">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.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1764063004444\"><strong class=\"schema-faq-question\">Is the FCM limit different for web push?<\/strong> <p class=\"schema-faq-answer\">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.<\/p> <\/div><\/div>\n","protected":false},"excerpt":{"rendered":"The web push payload size limit is 4,096 bytes encrypted, or 3,993 bytes of data. What counts, what fails, and how to send more.","protected":false},"author":7,"featured_media":3567,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[63],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Is the Maximum Payload Size for a Web Push Notification?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is the Maximum Payload Size for a Web Push Notification?\" \/>\n<meta property=\"og:description\" content=\"The web push payload size limit is 4,096 bytes encrypted, or 3,993 bytes of data. What counts, what fails, and how to send more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\" \/>\n<meta property=\"og:site_name\" content=\"LaraPush Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-25T04:43:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ritesh Das\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ritesh Das\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\"},\"author\":{\"name\":\"Ritesh Das\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\"},\"headline\":\"What Is the Maximum Payload Size for a Web Push Notification?\",\"datePublished\":\"2026-11-25T04:43:26+00:00\",\"dateModified\":\"2026-11-25T04:43:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\"},\"wordCount\":1323,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg\",\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#respond\"]}]},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\",\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\",\"name\":\"What Is the Maximum Payload Size for a Web Push Notification?\",\"isPartOf\":{\"@id\":\"https:\/\/larapush.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg\",\"datePublished\":\"2026-11-25T04:43:26+00:00\",\"dateModified\":\"2026-11-25T04:43:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000\"},{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111\"},{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222\"},{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333\"},{\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg\",\"width\":1200,\"height\":675,\"caption\":\"Illustration of the web push payload size limit, an encrypted envelope weighed on a scale beside data blocks\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/larapush.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is the Maximum Payload Size for a Web Push Notification?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/larapush.com\/blog\/#website\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"name\":\"LaraPush Blog\",\"description\":\"Stay Ahead, Stay Notified with LaraPush!\",\"publisher\":{\"@id\":\"https:\/\/larapush.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/larapush.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/larapush.com\/blog\/#organization\",\"name\":\"LaraPush\",\"url\":\"https:\/\/larapush.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"contentUrl\":\"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png\",\"width\":280,\"height\":60,\"caption\":\"LaraPush\"},\"image\":{\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd\",\"name\":\"Ritesh Das\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g\",\"caption\":\"Ritesh Das\"},\"url\":\"https:\/\/larapush.com\/blog\/author\/riteshdas\/\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000\",\"position\":1,\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000\",\"name\":\"Is the web push payload limit 4 KB or 4,000 characters?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"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.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111\",\"position\":2,\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111\",\"name\":\"Does the image size affect the web push payload?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"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.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222\",\"position\":3,\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222\",\"name\":\"What error do I get when a push payload is too big?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"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.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333\",\"position\":4,\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333\",\"name\":\"Can I send a web push notification without a payload?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"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.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444\",\"position\":5,\"url\":\"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444\",\"name\":\"Is the FCM limit different for web push?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"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.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is the Maximum Payload Size for a Web Push Notification?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/","og_locale":"en_US","og_type":"article","og_title":"What Is the Maximum Payload Size for a Web Push Notification?","og_description":"The web push payload size limit is 4,096 bytes encrypted, or 3,993 bytes of data. What counts, what fails, and how to send more.","og_url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/","og_site_name":"LaraPush Blog","article_published_time":"2026-11-25T04:43:26+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg","type":"image\/jpeg"}],"author":"Ritesh Das","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ritesh Das","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#article","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/"},"author":{"name":"Ritesh Das","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd"},"headline":"What Is the Maximum Payload Size for a Web Push Notification?","datePublished":"2026-11-25T04:43:26+00:00","dateModified":"2026-11-25T04:43:26+00:00","mainEntityOfPage":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/"},"wordCount":1323,"commentCount":0,"publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"image":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg","articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#respond"]}]},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/","url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/","name":"What Is the Maximum Payload Size for a Web Push Notification?","isPartOf":{"@id":"https:\/\/larapush.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage"},"image":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage"},"thumbnailUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg","datePublished":"2026-11-25T04:43:26+00:00","dateModified":"2026-11-25T04:43:26+00:00","breadcrumb":{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000"},{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111"},{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222"},{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333"},{"@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#primaryimage","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2026\/11\/web-push-payload-size-limit.jpg","width":1200,"height":675,"caption":"Illustration of the web push payload size limit, an encrypted envelope weighed on a scale beside data blocks"},{"@type":"BreadcrumbList","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/larapush.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What Is the Maximum Payload Size for a Web Push Notification?"}]},{"@type":"WebSite","@id":"https:\/\/larapush.com\/blog\/#website","url":"https:\/\/larapush.com\/blog\/","name":"LaraPush Blog","description":"Stay Ahead, Stay Notified with LaraPush!","publisher":{"@id":"https:\/\/larapush.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/larapush.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/larapush.com\/blog\/#organization","name":"LaraPush","url":"https:\/\/larapush.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","contentUrl":"https:\/\/larapush.com\/blog\/wp-content\/uploads\/2022\/05\/LARAPUSH.png","width":280,"height":60,"caption":"LaraPush"},"image":{"@id":"https:\/\/larapush.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/4f23894f98426ea3a6bd617e59f03bbd","name":"Ritesh Das","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/larapush.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1bd7bb0ba68e36b218587b72e89e511f?s=96&d=mm&r=g","caption":"Ritesh Das"},"url":"https:\/\/larapush.com\/blog\/author\/riteshdas\/"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000","position":1,"url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063000000","name":"Is the web push payload limit 4 KB or 4,000 characters?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"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.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111","position":2,"url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063001111","name":"Does the image size affect the web push payload?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"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.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222","position":3,"url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063002222","name":"What error do I get when a push payload is too big?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"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.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333","position":4,"url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063003333","name":"Can I send a web push notification without a payload?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"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.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444","position":5,"url":"https:\/\/larapush.com\/blog\/web-push-payload-size-limit\/#faq-question-1764063004444","name":"Is the FCM limit different for web push?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"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.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3559"}],"collection":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/comments?post=3559"}],"version-history":[{"count":1,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3559\/revisions"}],"predecessor-version":[{"id":3568,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/posts\/3559\/revisions\/3568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media\/3567"}],"wp:attachment":[{"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/media?parent=3559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/categories?post=3559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/larapush.com\/blog\/wp-json\/wp\/v2\/tags?post=3559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}