NUPKG NUSPEC
File conversion

Convert NUPKG to NUSPEC

QUICK ANSWER
Is it possible to convert NUPKG to NUSPEC?
Yes - NUPKG converts to NUSPEC.

Open the .nupkg in 7-Zip or rename it to .zip, then drag the .nuspec file from the archive root to a local folder. No special software is required since a .nupkg is a standard ZIP container.

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert NUPKG to NUSPEC?

The .nuspec holds the package manifest including id, version, authors, dependencies, and license. You may need it to inspect metadata without installing the package, re-use it as a template for a new package, or push to a private feed that requires the manifest separately.

How to convert NUPKG to NUSPEC

7-Zip OPEN-SOURCE

Right-click the .nupkg, choose 7-Zip > Open archive, select the .nuspec at the archive root, and click Extract.

NuGet Package Explorer OPEN-SOURCE

Open the .nupkg via File > Open local package, select the .nuspec in the contents panel, then use File > Save metadata as to save it as a standalone file.

Rename to .zip FREE

Rename the .nupkg extension to .zip, open in Windows Explorer or use unzip on macOS/Linux, and copy out the .nuspec from the archive root.

About these formats

Quality & what to watch

  • The .nuspec inside a built .nupkg reflects values resolved at build time (e.g., version from the .csproj), not necessarily a hand-written manifest.
  • The extracted .nuspec is complete and valid - it can be used directly with nuget pack to rebuild or fork the package.
  • The <files> element is usually absent in .nuspec files extracted from a dotnet pack build; file layout is resolved automatically at build time.

Frequently asked questions

Where in the `.nupkg` is the `.nuspec` located?
At the archive root, named <id>.<version>.nuspec.
Can I use the extracted `.nuspec` to re-pack the package?
Yes - it is a complete, valid manifest usable with nuget pack.
What is the difference between `.nuspec` and `.nupkg`?
The .nuspec is plain XML metadata only; the .nupkg is the full ZIP archive containing DLLs, the .nuspec, and all other package assets.