Skip to content
cosmodev ~/tools/pwa-manifest-generator

PWA manifest-generator

Generators

Sammensæt et gyldigt Web App Manifest — navn, farver, display-tilstand, ikonstørrelser og maskable purpose — med fast nøglerækkefølge og øjeblikkelig JSON, du kan kopiere eller downloade.

Try:

(Dokumentation på engelsk)

What it does

The PWA Manifest Generator assembles a Web App Manifest with the key order browsers and tooling expect: name, short_name, description, start_url, display, orientation, background_color, theme_color, icons. Icon entries are generated per size (icons/icon-192x192.png and friends) and can be marked maskable in one switch. Colors must be #rrggbb, icon sizes positive and unique, and a missing name is the only required-field error — everything else is optional and simply drops out of the document when blank.

Everything runs 100% client-side.

How to use it

  1. Name the app — the manifest appears immediately.
  2. Fill the optional identity fields; pick a display mode and orientation.
  3. Set the two colors, list icon sizes (default 192, 512), flip maskable if your icon has safe-zone padding.
  4. Copy the JSON or download manifest.json directly.

Examples

  • name Field Notes, short_name Notes, standalone, #ffffff / #0ea5e9, sizes 192, 512 → a nine-key manifest with two any-purpose icons.
  • short_name abcdefghijklm → the manifest still emits, with a warning that home-screen labels truncate around 12 characters.

Good to know

  • short_name is what fits under the home-screen icon — the generator warns past 12 characters but never blocks.
  • Maskable icons are cropped to a safe zone circle; only flip the switch when your icon artwork accounts for it.
  • The document always ends with a newline and 2-space indentation — drop it straight into public/manifest.json.
Kildekode14 sprog

100% client-side · dine data forlader aldrig din browser. Fandt du dette nyttigt? Del det med en i dit team.