devkult_
tools29converters34
home/mime/.webmanifest

.webmanifest MIME type

Web app manifestapps & binaries

application/manifest+json

The manifest that makes a site installable as a progressive web app.

MIME typeapplication/manifest+json
Extensions.webmanifest
Content-Typeapplication/manifest+json
Compress in transit?Yes — enable gzip or Brotli

Good to know

  • Linked with <link rel="manifest" href="/manifest.webmanifest">. Browsers also accept a manifest served as application/json.

Serve .webmanifest files with the right type

The response header to send:

Content-Type: application/manifest+json

Most servers pick the type from the file extension. If yours sends the wrong one, map it explicitly:

nginx (inside the types block in mime.types)
application/manifest+json webmanifest;
Apache (.htaccess or server config)
AddType application/manifest+json .webmanifest
Express
res.set("Content-Type", "application/manifest+json");
Python
import mimetypes

mimetypes.add_type("application/manifest+json", ".webmanifest")
HTML file input
<input type="file" accept=".webmanifest,application/manifest+json">

Check it

See what a server sends for a file, and what type a local file really is by its contents:

curl -sI https://example.com/file.webmanifest | grep -i '^content-type:'
file --mime-type file.webmanifest

Frequently asked questions

What is the MIME type for .webmanifest files?

application/manifest+json.

What Content-Type header should a .webmanifest file be served with?

Content-Type: application/manifest+json. It compresses well, so let the server apply gzip or Brotli.

Related types

Headers that go with it: Content-Type · Content-Disposition · X-Content-Type-Options