# .psd MIME Type: image/vnd.adobe.photoshop

> Layered Photoshop files. The type is registered, but no browser can display them.

- MIME type: `image/vnd.adobe.photoshop`
- Extensions: .psd
- Content-Type header: `image/vnd.adobe.photoshop`
- Compress in transit: no (already compressed)
- File signature: `38 42 50 53` (Large Document Format (.psb) files share the signature with version 2)

## Good to know

- To show a PSD on the web, render a flattened preview on the server — ImageMagick's `magick file.psd[0] preview.png` takes the composite image — and serve that as PNG or WebP.
- Browsers may report `.psd` uploads as `image/vnd.adobe.photoshop`, `application/octet-stream` or an empty type; check for the `8BPS` signature instead.

## Server configuration

### nginx (inside the types block in mime.types)

```
image/vnd.adobe.photoshop psd;
```

### Apache (.htaccess or server config)

```
AddType image/vnd.adobe.photoshop .psd
```

### Express

```
res.set("Content-Type", "image/vnd.adobe.photoshop");
```

### Python

```
import mimetypes

mimetypes.add_type("image/vnd.adobe.photoshop", ".psd")
```

### HTML file input

```
<input type="file" accept=".psd,image/vnd.adobe.photoshop">
```

## FAQ

### What is the MIME type for .psd files?

`image/vnd.adobe.photoshop`.

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

`Content-Type: image/vnd.adobe.photoshop`. It's already compressed, so servers shouldn't gzip it.

### How can I tell if a file is really a .psd?

Check its bytes rather than the extension: PSD files start with `38 42 50 53` (`8BPS`) — Large Document Format (.psb) files share the signature with version 2. On the command line, `file --mime-type name.psd` does this for you.

## Related types

- [.png — image/png](https://www.devkult.com/mime/png.md)
- [.tiff — image/tiff](https://www.devkult.com/mime/tiff.md)
- [.eps — application/postscript](https://www.devkult.com/mime/eps.md)

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