← Works with

InstantPWA on HTML / plain JavaScript

If you can edit an HTML file, you can ship a PWA. Paste the InstantPWA snippet before </body>, upload, and the install popup, service worker and web push wiring are handled for you.

Install: Full support
Web push: Full support

Zero dependencies. 15 KB gzipped.

How to set it up

  1. 1

    Open your HTML template

    Any static HTML file works — Jekyll, Hugo, Eleventy, hand-written, GitHub Pages.

  2. 2

    Paste before </body>

    The script is async and defer-safe, so it won't block first paint.

  3. 3

    Deploy over HTTPS

    HTTPS is required for service workers. Netlify, Cloudflare Pages and GitHub Pages all provide free HTTPS.

FAQ

Do I need a build step?+

No — the snippet is one script tag. No bundlers, transpilers or package managers.

Can I use it on GitHub Pages?+

Yes. GitHub Pages serves HTTPS by default, which is the only requirement.

Ready to make HTML / plain JavaScript installable?

1,000 free impressions. No credit card.

Get started