← PWA & Install
App Badging
Probing…App Badging is a web platform capability in the PWA & Install category. Show a badge count on the installed app icon. Supported in Chromium 81+ and Safari 16.4+; not available in Firefox. Requires a secure context (HTTPS or localhost) and the site to be installed as an app.
Secure contextInstalled app
Try it
Loading demo…
Code
// Show a count on the installed app icon
await navigator.setAppBadge(3)
// Remove it
await navigator.clearAppBadge()Browser support
Chromium
81
Firefox
No
Safari
16.4
Frequently asked questions
Which browsers support App Badging?
Supported in Chromium 81+ and Safari 16.4+; not available in Firefox.
Does App Badging require HTTPS?
Yes. App Badging needs a secure context, so it only works over HTTPS (or on localhost during development).
What is App Badging used for?
Show a badge count on the installed app icon.
Can I try App Badging in my browser?
Yes. shwcs.net runs a live App Badging demo that probes your current browser and lets you try the API. Everything runs locally — nothing is sent anywhere.