PSD vs PSB: What's the Difference and When to Use Each
If you've ever hit the "file too large" error in Photoshop, you've probably encountered the PSB format. But what exactly is a PSB, and when should you use it instead of PSD?
The Size Problem
The PSD format was designed in 1990 when a "large" image might be 1024×768 pixels. Three decades later, we routinely work with:
- Panoramic photography: 20,000+ pixels wide
- Print design: 300 DPI posters at several feet wide
- Digital billboards: 10,000×5,000 pixel displays
- Composite photography: Hundreds of high-resolution layers
The original PSD specification has hard limits:
| Limit | PSD | PSB |
|---|---|---|
| Maximum file size | 2 GB | 4 EB (essentially unlimited) |
| Maximum dimensions | 30,000 × 30,000 px | 300,000 × 300,000 px |
| Maximum layer count | ~8,000 | ~8,000 |
| Channel depth | 1–32 bit | 1–32 bit |
What Is PSB?
PSB stands for Photoshop Big (also called "Large Document Format"). It's essentially PSD with the size constraints removed. The file structure is nearly identical — the main difference is that PSB uses 64-bit offsets where PSD uses 32-bit offsets.
This means:
- All PSD features work in PSB (layers, masks, effects, smart objects, etc.)
- Any tool that reads PSB can usually read PSD too
- The visual result is identical
When to Use PSB
Use PSB when:
-
Your file exceeds 2 GB. Photoshop will force you to save as PSB. Common with multi-layer composites, high-res scans, or photography projects with many adjustment layers.
-
Any dimension exceeds 30,000 pixels. Panoramic stitches, large-format print files, and architectural renders often hit this limit.
-
You're working with many large layers. Even if the final canvas isn't huge, 50+ layers of high-resolution content can push past the 2 GB limit.
-
Future-proofing. If a project might grow significantly, starting in PSB avoids a mid-project format migration.
Stay with PSD when:
-
Compatibility matters. While PSB support has improved, some older tools and plugins only handle PSD. If you're sharing files with teams that use older software, PSD is safer.
-
File size is under 1 GB. No need for the large format if you're well within PSD limits.
-
You're creating web assets. Web-focused work rarely needs the extra headroom PSB provides.
How to Convert Between Formats
PSD to PSB
In Photoshop: File → Save As → Photoshop Large Document Format (.psb)
All layers, effects, and metadata are preserved. The file may be slightly larger due to 64-bit offsets, but usually the difference is negligible.
PSB to PSD
Only possible if your document meets PSD constraints:
- Under 2 GB
- Under 30,000 pixels in each dimension
In Photoshop: File → Save As → Photoshop (.psd)
If your file exceeds PSD limits, you'll need to:
- Flatten or merge layers to reduce size
- Resize the canvas to fit within 30,000 px
- Reduce to 8-bit depth if currently at 16-bit or 32-bit
Tool Support
| Tool | PSD | PSB |
|---|---|---|
| Adobe Photoshop | ✅ | ✅ |
| PeekPSD (web viewer) | ✅ | ✅ |
| GIMP | ✅ | ❌ |
| Krita | ✅ | ⚠️ Partial |
| Photopea | ✅ | ✅ |
| macOS Quick Look | ✅ | ✅ |
| Affinity Photo | ✅ | ✅ |
Technical Deep Dive
For developers working with PSD/PSB parsers, the key differences are:
Header
PSD: Signature = "8BPS", Version = 1
PSB: Signature = "8BPS", Version = 2
Offset Sizes
PSD uses 32-bit (4-byte) offsets for layer positions and data lengths. PSB uses 64-bit (8-byte) offsets. This is the fundamental change that removes the 2 GB barrier.
Channel Length
In PSD, channel data length is stored as a 4-byte integer. In PSB, it's an 8-byte integer. This allows individual channels to exceed 2 GB.
Image Resource Blocks
Identical between PSD and PSB. The image resource section uses the same format regardless of version.
Layer and Mask Information
The overall section length is 4 bytes in PSD, 8 bytes in PSB. Individual layer records also use wider offsets in PSB.
Performance Considerations
PSB files are not inherently slower to read or write than PSD files of equivalent content. The additional bytes from 64-bit offsets add negligible overhead. However:
- Memory usage scales with content, not format. A 500 MB PSB uses roughly the same RAM as a 500 MB PSD with the same layers.
- Parsing time is proportional to file size and layer count, not the format version.
- Web-based viewers can handle both formats equally well, as the parsing logic is nearly identical.
The Bottom Line
PSB is simply PSD without artificial size limits. If your work stays under 2 GB and 30,000 pixels, use PSD for maximum compatibility. If you need more room, PSB provides it with no loss of features or quality.
Both PSD and PSB files open instantly in PeekPSD. Try dropping a large PSB file — you'll see every layer parsed right in your browser.
Related posts
Get notified about new posts