Learn · Build and ship · 6 min
Make your web app installable
A web app can be installed like any other app once it has a manifest, the right icons and a service worker. Here is what each one does, and how to check yours.
Serve it over HTTPS
Browsers only offer to install a web app from a secure https:// address. Most hosts can turn this on for you, often at no cost. Check that the address people open starts with https://.
Add a web app manifest
The manifest is a small JSON file that tells the browser your app's name and short name, where it starts, its colours and how it opens. Set display to standalone so it opens in its own window without the browser bar. Link it from every page with a link rel="manifest" tag in the head.
Give it icons
List square icons in the manifest at 192 by 192 and 512 by 512 pixels. Add a maskable version too: the same picture with extra background around it, so phones that crop icons into circles or rounded squares do not cut anything off.
Register a service worker
A service worker is a script the browser keeps in the background. It can keep copies of your pages so the app opens on a poor connection or none at all. You start it from your page with navigator.serviceWorker.register.
Check it with our checker
Paste your address into the app checker. It reads your page and manifest, ticks what is ready and, for anything missing, tells you what to change and gives you a line to copy.
Try it now
Paste your web app's address and see what it needs before it can be installed.
Reviewed from: Web Application Manifest (W3C), Progressive web apps (MDN Web Docs). Written in our own words.
Drafted with AI from the linked sources. Check the links for the full detail.