What is a Progressive Web App?

In short
A Progressive Web App, or PWA, is a website built with web technologies that can be installed on a device and used much like a native app. It can also keep working with weak or no network connection. It runs in a browser but can look and feel like any other app on your phone or computer.
What a PWA is
A Progressive Web App is a normal website that has been upgraded with a few extra browser features. You build it with HTML, CSS and JavaScript, just like any other web page. The difference is that users can install it on their device. Once installed, it appears in the operating system like any other app. They can start it from the home screen, the app menu or the taskbar, and it opens in its own window.
The word "progressive" means the app gets better as the browser supports more features. Users on an old browser still get a working website. Users on a modern browser get the full app experience.
PWAs sit between two familiar options. A traditional website lives in a browser tab and needs a connection to load. A platform-specific app is written for one operating system and is usually downloaded from an app store. A PWA avoids both limits: one codebase, no store download, and it can still work offline.
The main building blocks
A PWA relies on a few core pieces. Each one solves a specific problem.
- A web app manifest is a small file that describes the app. It holds the name, icons, and other details the operating system needs when the app is installed. It also lets you choose how the app is launched, for example in its own window instead of a browser tab.
- A service worker is a script that the browser runs in the background, separate from your page. It can intercept network requests, so the app can respond even when the network is slow or missing.
- The Cache API stores responses locally, so the app can reuse files it has already downloaded.
Together, these features make a PWA installable and able to work offline.
How installation works
Installation is the feature that makes a PWA feel like a real app. The browser looks for a valid manifest and a service worker. When both are present, the browser can offer to install the app. The user confirms, and the app gets an icon on the device.
You can also customize the install experience. For example, you can define your own icons and set background and theme colors. You can also build your own button that invites users to install the app. Users can remove the app later through the normal uninstall steps on their device.
A simple example
Here is a tiny manifest file that gives the browser the basic details it needs. The file is usually named manifest.json and linked from the page head.
{
"name": "Notes",
"short_name": "Notes",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#1e88e5",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" }
]
}
The display value "standalone" asks the browser to open the app in its own window. A service worker would then be registered in your main script to handle offline behavior.
Common mistakes
Beginners often assume that a PWA works offline by default. It does not. You need a service worker and a caching strategy before the app can respond without a network. Another common mistake is forgetting the manifest. Without it, the browser has no install information and the app will stay a normal website.
Also remember that PWAs must be served over a secure connection for the core features to work. Test on the real devices you target, because install prompts and icons can differ between browsers and operating systems.
Alternatives and next steps
If you only need a simple page, a regular website is often enough. If you need deep access to device hardware or must ship through an app store, a native app may be the better choice. A PWA is a good middle path when you want one codebase that works on many platforms. For a hands-on start, follow a beginner tutorial that builds a small app step by step, adding the manifest and service worker as you go.
FAQ
Do I need an app store to publish a PWA?
No. A PWA is served from a website, so users open it through a URL. They can then install it directly from the browser, without going through an app store.
Does a PWA work without internet?
It can, but only if you add a service worker and cache the files it needs. Without that setup, the app behaves like a normal website and needs a network connection.
Is a PWA the same as a hybrid app?
No. A hybrid app is usually a native app wrapper around a web view. A PWA runs in the browser and is installed through the browser's own install features.
Can I customize how my PWA looks when installed?
Yes. You can define your own icons, background color and theme color, and choose a standalone window instead of a browser tab. You can also build your own install prompt.
Sources
This page is based on the official documentation below. Read it for full detail.
Progressive Web App — official documentation ↗