.NSZ

Файл NSZ

Compressed Nintendo Switch Package
Задать вопрос
БЫСТРЫЙ ОТВЕТ

An NSZ file is a Nintendo Switch game package (NSP) compressed losslessly with Zstandard, typically 40-80% smaller than the original. Modern Ryujinx-family emulators open NSZ files directly; for anything else, decompress it to NSP with the NSZ tool. Downloading others' Switch games in any format is copyright infringement.

Разработчик: nicoboss (NSZ open-source project / community) Категория: Файлы игр Открыть стандартное MIME: application/octet-stream
ОТКРЫВАЕТСЯ НА Windows macOS Linux
Связанные: .OBB · .PAK · .ROFL · .PACKAGE

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Aug 21, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла NSZ?

.nsz is a Compressed Nintendo Switch Package - a community-created lossless compressed variant of the .NSP game package format used on the Nintendo Switch. Introduced in 2019 by developer nicoboss via the open-source NSZ tool, it is not an official Nintendo format but is widely adopted in the homebrew and emulation community.

Structurally, an .nsz file is a PFS0 partition container (the same underlying format as .nsp) in which each NCA (Nintendo Content Archive) payload has been recompressed as an .ncz file using the Zstandard (zstd) lossless algorithm. The first 0x4000 bytes of each .ncz entry are preserved intact from the original encrypted NCA header, followed by a block-compressed payload section. The file carries a PFS0 magic signature (50 46 53 30) at byte offset 0, identical to a standard .nsp.

Compression typically achieves a 40-80% size reduction while remaining fully lossless: decompressing an .nsz reproduces the original .nsp byte-for-byte. SHA-256 integrity hashes embedded in the CNMT metadata NCA verify correctness after decompression. The .nsz format mirrors the relationship between .XCZ and .XCI - both pairs cover compressed versus uncompressed Switch game images from package and cartridge sources respectively.

Modern Ryujinx-family emulators can load .nsz files directly without a prior decompression step. The nsz command-line tool and GUI utilities such as NSC_BUILDER support both compression and decompression on Windows, Linux, and macOS.

Безопасность и защита

РИСК: MEDIUM

The NSZ format itself is data, not executable code, so the file won't 'run' on your PC. The real issues are legal and operational: using NSZ requires console encryption keys (prod.keys) and the games inside are copyrighted - compressing your own legally-dumped games is the only defensible use, while downloading or sharing others' Switch games is piracy. Practically, get the NSZ tool only from its official GitHub (nicoboss/nsz); 'NSZ converter/opener' sites and bundled installers are common malware/adware bait in this scene. Running pirated content on a real Switch also risks a Nintendo console ban.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕCompressed Nintendo Switch Packageтакже известен как Compressed NSP, NSZ Switch game
РАЗРАБОТЧИКnicoboss (NSZ open-source project / community)с 2019 (NSZ tool by nicoboss)
КАТЕГОРИЯФайлы игр
MIME-ТИПapplication/octet-stream
ТИПCompressed container of a Nintendo Switch NSP, with NCA contents recompressed as NCZ
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.obb.pak.rofl.package
Это расширение также используется в…
  • NVIDIA nTune benchmark file (legacy) - Old benchmark/profile data from NVIDIA's discontinued nTune overclocking tool (the original db_name).
  • Nullsoft / generic compressed data (rare) - Occasionally seen as a generic 'compressed' marker by unrelated tools.
MAGIC BYTES · СИГНАТУРА ФАЙЛА
СМЕЩЕНИЕ
00010203
HEX
50465330
ASCII
PFS0
An NSZ is a PFS0 (NSP) container in which each NCA has been turned into an NCZ. The PFS0 magic "PFS0" appears at offset 0. Inside, NCZ entries keep the first 0x4000 bytes of the original NCA intact (still encrypted), followed by a section header and Zstandard-compressed data.

Программы, открывающие файлы NSZ

Windows3 apps
NSZ (decompress tool) Открытый код Run 'nsz -D game.nsz' to decompress back to the original .nsp, or use the bundled GUI. The reference tool for the format.
Ryujinx-family emulator Открытый код Add the game directory; modern Ryujinx builds load .nsz directly (requires your own prod.keys / firmware).
NSC_BUILDER / NSCB Открытый код GUI toolkit that compresses/decompresses and inspects NSP/NSZ/XCI/XCZ; convenient for batch work.
macOS1 app
NSZ (decompress tool) Открытый код Run 'nsz -D game.nsz' to decompress back to the original .nsp, or use the bundled GUI. The reference tool for the format.
Linux2 apps
NSZ (decompress tool) Открытый код Run 'nsz -D game.nsz' to decompress back to the original .nsp, or use the bundled GUI. The reference tool for the format.
Ryujinx-family emulator Открытый код Add the game directory; modern Ryujinx builds load .nsz directly (requires your own prod.keys / firmware).

Технические подробности

глубокая спецификация
Container formatPFS0 partition filesystem - identical header structure to .nsp
File signature (magic bytes)PFS0 (0x50 0x46 0x53 0x30) at byte offset 0
Byte orderLittle-endian
Internal payload typeNCA files replaced by .ncz entries (Zstandard-compressed NCA)
NCZ header preservationFirst 0x4000 bytes of each .ncz entry retain the original encrypted NCA header unchanged
Compression algorithmZstandard (zstd) - lossless
Typical compression ratio40-80% size reduction versus the original .nsp, depending on game content type
Block-mode compressionNewer .ncz entries use block-based Zstandard for random-access decompression without a full decode pass
Integrity verificationSHA-256 hashes in the CNMT metadata NCA verify each NCA payload after decompression
Encryption modelNCA content is decrypted before Zstandard recompression; the title key and cert ticket are retained in the container
Typical file size200 MB - 15 GB compressed (large titles remain multi-GB even after compression)
MIME typeapplication/octet-stream
Lossless round-tripDecompressing an .nsz reproduces the source .nsp bit-for-bit
Native emulator supportRyujinx-family emulators parse .nsz directly without requiring prior decompression
Format originCommunity format created by nicoboss; not an official Nintendo format
Выпущен2019 (NSZ tool by nicoboss)
Последняя версияTracks the NSZ tool releases (actively maintained on GitHub)
Открыть стандартноеДа · без роялти
Спецификацияgithub.com

Конвертации NSZ

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами NSZ. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах NSZ.

Часто задаваемые вопросы

What is an NSZ file?
A compressed Nintendo Switch game package - an NSP file shrunk losslessly with Zstandard compression by the open-source NSZ tool. Decompressing it rebuilds the original NSP exactly.
How do I open or play an NSZ file?
Modern Ryujinx-family emulators load .nsz directly (with your own console keys). Otherwise decompress it to .nsp first using the NSZ tool ('nsz -D game.nsz').
How do I convert NSZ to NSP?
Use the NSZ tool: 'nsz -D game.nsz' produces the original .nsp losslessly. NSC_BUILDER offers a GUI for the same job. You need your console's prod.keys.
What's the difference between NSZ and NSP?
NSP is the full Switch package; NSZ is the same package with its contents Zstandard-compressed to save space (often 40-80% smaller). NSZ ↔ NSP is lossless and reversible.
What's the difference between NSZ and XCZ?
Both are compressed Switch formats: NSZ is a compressed NSP (eShop-style package), XCZ is a compressed XCI (gamecard image). Same compression idea, different base container.
Is it legal to use NSZ files?
Only with games you legally own and dumped yourself - compressing your own backups. Downloading or distributing others' Switch games is copyright infringement, and the format requires console keys you must extract from your own Switch.

Ссылки

1nicoboss/nsz - NSP/XCI compressor/decompressor (GitHub)github.com
2DeepWiki - NSZ file formats (NCZ/PFS0 structure)deepwiki.com

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.BINCD/DVD Disc Image (BIN/CUE)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TXTPlain Text File

Похожие расширения

.OBBAndroid Opaque Binary Blob (APK Expansion File)
.PAKGame Resource Package (PAK)
.ROFLLeague of Legends Replay
.PACKAGEThe Sims / Maxis DBPF Package (game content & mods) - dominant meaning
.XSBXACT Sound Bank
.SAVSaved Game File

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z