# .webmanifest MIME Type: application/manifest+json

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

- MIME type: `application/manifest+json`
- Extensions: .webmanifest
- Content-Type header: `application/manifest+json`
- Compress in transit: yes

## Good to know

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

## Server configuration

### 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">
```

## FAQ

### 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

- [.json — application/json](https://www.devkult.com/mime/json.md)
- [.ico — image/vnd.microsoft.icon](https://www.devkult.com/mime/ico.md)
- [.png — image/png](https://www.devkult.com/mime/png.md)

Open the interactive page: https://www.devkult.com/mime/webmanifest