Declarative Web Push is a newer form of web push where the push message itself describes the notification, so the browser can show it without running a service worker. Apple shipped it in Safari for iOS and iPadOS 18.4 and macOS 18.5 in 2025. Firefox 162 adds it in December 2026; Chrome hasn’t shipped it.
I’ve written about service workers a lot on this blog, because classic web push can’t work without one. Declarative Web Push changes that rule for Safari users, and soon for Firefox users too. Here’s what it is, how the message format works, which browsers support it as of November 2026, and whether you should change anything today.
Key facts at a glance:
- Proposed by: WebKit (Apple), announced in the Meet Declarative Web Push post on 27 March 2025.
- Supported: Safari on iOS and iPadOS 18.4+ (Home Screen web apps) and Safari 18.5+ on macOS.
- Coming: Firefox 162, scheduled for 8 December 2026, per the Firefox 162 developer release notes.
- Not supported: Chrome, Edge and other Chromium browsers, as of November 2026.
- Magic value: a top-level “web_push”: 8030 field opts the message into declarative handling.
What is Declarative Web Push?
Declarative Web Push is a way to send a web push notification where the payload is the notification. Instead of waking JavaScript to build the notification, the browser reads a standard JSON format and displays it directly.
In classic web push, the browser receives an encrypted push message, starts your service worker and fires a push event. Your code then parses the data and calls showNotification(). If that code fails or runs late, nothing appears. Safari treats a missing notification as a silent push and can revoke the subscription.
With Declarative Web Push, the browser has everything it needs in the message. A service worker is optional. If one is installed, it can still change the notification, but the original message acts as a fallback if the script fails.
Why did Apple create Declarative Web Push?
WebKit gave two main reasons: battery life and privacy. Running JavaScript for every notification costs energy, and a buggy service worker can lose a subscriber through the silent push penalty.
Privacy is the second reason. Safari’s Intelligent Tracking Prevention (ITP) deletes website data, including service worker registrations, for sites you haven’t visited in a while. In classic web push, losing the service worker breaks the subscription. With Declarative Web Push, the subscription keeps working even after the service worker is gone, according to WebKit.
What does a Declarative Web Push message look like?
A declarative message is JSON with a web_push value of 8030 and a notification object. The notification needs at least a title and a navigate URL, which is the page that opens when someone taps it:
{
"web_push": 8030,
"notification": {
"title": "Back in stock",
"body": "The running shoes you saved are back in your size.",
"navigate": "https://example.com/products/running-shoes",
"lang": "en-US",
"dir": "ltr",
"silent": false
}
}The 8030 value refers to RFC 8030, the Web Push protocol. Most other options from the Notifications API can also go inside the notification object. Home Screen web apps can also set an app_badge value to update the icon badge.
Everything else stays the same. You still encrypt the payload, sign the request with VAPID keys and send it to the subscription endpoint. My explainer on VAPID keys for web push covers that part.
How do you subscribe without a service worker?
You subscribe through window.pushManager, which Declarative Web Push adds to the page itself. Classic web push only offers pushManager on a service worker registration.
const subscription = await window.pushManager.subscribe({
userVisibleOnly: true,
applicationServerKey: vapidPublicKey
});
// send subscription.toJSON() to your server as usualIf you also have a service worker registered at the root of your domain, it shares the same subscription. However, removing that service worker doesn’t remove the subscription. Always check that window.pushManager exists before using it, because Chrome doesn’t have it yet.
Which browsers support Declarative Web Push?
Only Apple’s Safari supports it in a stable release as of November 2026. Firefox support is in the Firefox 162 beta and ships on 8 December 2026. Chromium has an open tracking issue but no release.
| Browser | Declarative Web Push | window.pushManager | Notes (checked November 2026) |
|---|---|---|---|
| Safari on iOS and iPadOS | Yes, 18.4+ | Yes, 18.4+ | Home Screen web apps only |
| Safari on macOS | Yes, 18.5+ | Yes, 18.4+ | Safari 18.5 shipped May 2025 |
| Firefox | Firefox 162 | Firefox 162 | Stable release due 8 December 2026 |
| Chrome, Edge, Opera | No | No | Use classic web push with a service worker |
The table uses MDN’s browser compatibility data and the Firefox release notes. For the wider picture, see my list of browsers that support web push.
Does Declarative Web Push replace service workers?
Not yet. Chrome, Edge and other Chromium browsers still need a service worker, so you should keep yours. What changes is the best way to format your messages.
WebKit recommends a backward-compatible approach, and I agree with it:
- Send every push payload in the declarative JSON format.
- Update your service worker’s push handler to read the same notification fields and call showNotification().
- Open the navigate URL in your notificationclick handler, as in my guide to opening a URL on web push click.
- Keep VAPID keys and the service worker location unchanged so existing subscriptions keep working.
Safari then shows the message directly, while Chrome and older browsers run your script as before. My guide to the service worker for web push covers the push handler side.
Does it change web push on iPhone?
It makes iPhone web push more reliable, but the main rule stays the same. On iOS and iPadOS, web push still works only for sites added to the Home Screen as web apps, and the user must allow notifications from inside that app.
What improves is resilience. A Home Screen app’s subscription no longer depends on a service worker that ITP might delete, and a failed script no longer means a missing notification. My step-by-step on getting web push working on iPhone covers the setup.
Where LaraPush fits
LaraPush is a self-hosted web push panel that you install on your own VPS, with a one-time licence from $499 (check LaraPush pricing). It supports iOS Safari web apps on iOS 16.4 or later through its standard service worker setup, described on the iOS push page. I couldn’t confirm whether it sends the declarative format yet, so ask LaraPush support if that matters to you. 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 on the standards track. WebKit proposed changes to the W3C Push API and the WHATWG Notifications API, and Mozilla has implemented it for Firefox 162. Chrome hasn’t shipped it as of November 2026. Treat it as an enhancement for supporting browsers, not a replacement for classic web push.
No. WebKit says web push on Apple platforms, including the declarative format, uses Apple Push Notification service without Apple Developer Program membership. You need HTTPS, VAPID keys and a subscription, just as with classic web push in other browsers.
Yes. If a service worker is installed, Safari still fires a push event and passes the proposed notification. Your code can show a replacement notification. If it fails or runs too slowly, Safari shows the original declarative notification as a fallback, so the subscriber still sees something.
No. Declarative messages go to the same push subscriptions you already have. Sending to an existing endpoint works exactly as before; only the payload format changes. Just keep your VAPID keys and service worker location the same, because changing those can break existing subscriptions.
No. Every declarative message must describe a visible notification with a title and navigate URL. That’s why WebKit doesn’t apply its silent push penalty to these messages: there’s always something shown to the user. If you need background data updates, web push isn’t the right tool.




