How to Make a Website Installable: The Web App Manifest Explained

Learn what a web app manifest does, which fields and icon sizes browsers need to offer installation, and how to write, link and test one for your PWA.

Updated September 29, 2026 7 min read

Use the free PWA Manifest GeneratorCreate manifest.webmanifest, icon sizes and head tags for a PWA

A customer asks whether your booking portal has an app. You don't want to build and maintain separate iOS and Android versions, but you would like people to be able to put your site on their home screen, open it in its own window without the browser toolbar, and see your logo and colours while it loads. That is what a Progressive Web App (PWA) offers, and the first building block is a small JSON file called the web app manifest.

This guide explains what the manifest does, what each important field means, which icons you need, and how to link and test it. It also covers the parts a manifest cannot do on its own, so you know when you need a service worker too.

What the web app manifest does

A manifest is a JSON file, usually named manifest.webmanifest or manifest.json, that describes your site as an application. Browsers read it to decide:

  • what name to show under the home-screen or desktop icon;
  • which icon to use at each size;
  • which URL to open when the app is launched;
  • whether to show browser controls or open in a standalone window;
  • which colours to use for the title bar and the splash screen.

The manifest does not make your site faster or work offline. It is metadata. Offline behaviour and caching come from a service worker, which is a separate script. Some browsers also consider a service worker when deciding whether to show an install prompt, and requirements have changed over time, so check each browser's current documentation if the prompt matters to you.

The fields that matter

Here is a typical manifest:

{
  "id": "/",
  "name": "Northwind Bookings",
  "short_name": "Bookings",
  "description": "Book and manage meeting rooms.",
  "start_url": "/",
  "scope": "/",
  "display": "standalone",
  "theme_color": "#4f46e5",
  "background_color": "#ffffff",
  "lang": "en",
  "icons": [
    { "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
    { "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
    { "src": "/icons/icon-512-maskable.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
  ]
}
Field What it controls
name Full name, shown in install dialogs and app lists
short_name Label under the home-screen icon; keep it to about 12 characters
start_url Page that opens when the user launches the app
scope Which URLs count as "inside" the app; links outside open in the browser
id A stable identity for the app, so changing start_url later doesn't create a "new" app
display standalone (own window), fullscreen, minimal-ui or browser
theme_color Colour of the title bar or status bar
background_color Splash-screen colour while the app loads
icons Images at different sizes, with a purpose of any or maskable

Display modes in practice

standalone suits most business apps: it looks like a native app but keeps system UI such as the status bar. fullscreen hides everything and is aimed at games and kiosks. minimal-ui keeps a small set of navigation controls, which can help if your app relies on the back button. browser is effectively a normal tab.

Icons and the maskable safe zone

Chromium-based browsers expect at least a 192x192 and a 512x512 icon before they offer installation. Android launchers also crop icons into circles, squircles or rounded squares. A normal logo that fills the whole square gets its corners cut off, so you add a separate maskable icon: the logo sits inside a central safe zone (a circle whose diameter is 80% of the icon), and the rest of the square is filled with a solid background colour. Anything outside that circle may be cropped.

iOS uses its own apple-touch-icon link rather than the manifest icons for the home screen, which is why you still add that tag separately.

Create a manifest with the generator

The PWA Manifest Generator builds the JSON and the matching <head> tags, and can resize your logo into icons in the browser.

  1. Open the PWA Manifest Generator and fill in App name (name) and Short name (under 12 chars). A hint appears if the short name is long enough to be cut off.
  2. Write a one-sentence Description.
  3. Set start_url, scope and id. For a site that is entirely the app, / for all three is fine.
  4. Pick a Display mode and, if needed, an Orientation (any, portrait, landscape or natural). Set the Language.
  5. Choose the Theme colour (toolbar) and Background colour (splash). The Color Picker helps if you only have your brand colour as an image.
  6. Adjust the Icon path pattern so {size} matches where you will store icons, then toggle the sizes you want. 192x192 and 512x512 are selected by default.
  7. Leave Add a maskable icon (Android adaptive) switched on unless you already have one.
  8. Optionally drop a square logo (512 px or larger; PNG, JPG, WebP or SVG) under Generate icons from an image. The maskable version is padded and filled with your background colour automatically, and an apple-touch-icon.png is created.
  9. Click Download manifest + icons (.zip) (or Download manifest + tags (.zip) if you didn't add an image) and copy the files to your site.

Paste the generated tags into the <head> of every page:

<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#4f46e5">
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">

Serve the file over HTTPS with the application/manifest+json content type. Most modern hosts handle .webmanifest correctly; if yours serves it as plain text or as a download, add a MIME type rule in the server configuration. For regular browser-tab icons, a Favicon Generator covers the .ico and small PNG sizes, and our guide to favicon sizes explains which ones are still worth shipping.

Other ways to do it

  • Write it by hand. The format is small and well documented on MDN and web.dev. Hand-writing is fine once you know the fields; the risk is typos in icon paths.
  • Framework plugins. Many build tools and frameworks have PWA plugins that generate the manifest and a service worker together. If you also need offline caching, that route is often better than a standalone manifest.
  • Image editors. You can export icon sizes manually from a design tool, or batch-resize them with an Image Resizer. The generator is quicker for the standard set, but a designer may want to hand-tune small sizes.

Test and troubleshoot

Check it in developer tools

In Chrome or Edge, open DevTools, go to the Application panel and select Manifest. It shows every parsed field, previews the icons and lists warnings, such as a missing 512 px icon.

The install option doesn't appear

Confirm the page is on HTTPS, the manifest link is present on the page you are viewing, the icons actually load (a 404 on an icon is a common cause), and display is not browser. Then check whether the browser you are using currently requires a service worker.

The icon looks cropped on Android

Your maskable icon's logo extends beyond the safe zone. Add more padding around it, or regenerate it from a logo with more empty space.

Changes don't show up

Installed apps cache the manifest and icons. Updates are picked up eventually, but during testing it is often faster to uninstall and reinstall the app.

Frequently asked questions

Is a manifest enough to make a PWA?

A manifest makes a site installable-looking, but a full PWA usually also has a service worker for offline support and caching. Some browsers also look for one before offering installation.

Should I name the file manifest.json or manifest.webmanifest?

Both work, as long as the link tag points to the right path and the server sends a suitable content type. .webmanifest is the extension used in the specification.

What icon sizes do I really need?

At minimum a 192x192 and a 512x512 PNG, plus a 512x512 maskable icon for Android. Add an apple-touch-icon (180x180 is typical) for iPhone and iPad home screens.

What is the difference between theme_color and background_color?

theme_color tints the browser or system title bar while the app is open. background_color fills the splash screen shown while the app starts, before your CSS loads.

Does the manifest help SEO?

Not directly. Search engines rank pages on their content, while the manifest only affects how the site behaves when installed. Titles and descriptions still come from your page's meta tags, which the Meta Tag Generator can help with.

Try it now: PWA Manifest Generator

Loading tool…