Setup guide · Webflow
Turn a Webflow site into an installable PWA (2026)
Add PWA install to any Webflow project — custom code, manifest hosting and a one-line install popup.
Key takeaways
- Host manifest.webmanifest and sw.js on a CDN or external subdomain.
- Wire them up via Site Settings → Custom Code.
- The install popup can be added by pasting one script tag — no Webflow interactions required.
Before you start
- Webflow Site plan (custom code)
- A CDN or subdomain that serves manifest + sw.js
- HTTPS
manifest.webmanifest
{
"name": "Your product",
"short_name": "Product",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#111827",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
]
}Step-by-step for Webflow
- Step 1Host manifest + sw.js on your domain
Webflow does not serve arbitrary files. Use Cloudflare Pages, Netlify or your existing CDN under the same origin as your Webflow site (via reverse proxy).
- Step 2Paste head code
Site Settings → Custom Code → Head Code.
<link rel="manifest" href="/manifest.webmanifest" /> <meta name="theme-color" content="#111827" /> <script>if('serviceWorker' in navigator) navigator.serviceWorker.register('/sw.js');</script> - Step 3Add the install popup
Below the register script, paste the InstantPWA embed.
Minimal sw.js
// public/sw.js
self.addEventListener('install', (e) => self.skipWaiting());
self.addEventListener('activate', (e) => self.clients.claim());
self.addEventListener('fetch', () => {});Common Webflow gotchas
- The service worker must be same-origin. A different subdomain will register but browsers will not prompt for install.
- Webflow custom code has a 10,000 character limit per section.
FAQ
Do I need a native app if my Webflow site is a PWA?
No. Once your Webflow site meets the three PWA criteria (HTTPS, a manifest, a service worker), Chromium browsers offer to install it and iOS Safari 16.4+ supports the full standalone experience — including web push.
Will a service worker slow my Webflow site down?
Not measurably on first load. The worker installs asynchronously after the page becomes interactive. On repeat visits it typically improves LCP and TTFB because assets are served from cache.
Can I still deploy my Webflow site to Vercel, Netlify or Cloudflare?
Yes. Any static or edge host works — the manifest and service worker are plain files served from the origin. No build-time integration is required.
Skip the setup — drop in one line
InstantPWA handles the install prompt across iOS, Android and desktop. Free forever for one popup.
Get started free