Microsoft Project (MPP) files are widely used for managing tasks, schedules, and resources. However, not everyone has access to MS Project, making it difficult to share and analyze project data. Converting MPP to Excel (XLS/XLSX) provides a more flexible and universally accessible format. Excel’s structured layout allows users to filter, visualize, and customize project data for reporting and collaboration.

MPP to Excel Conversion API

GroupDocs.Conversion Cloud SDK for .NET offers a simple yet powerful solution for converting Microsoft Project files into Excel spreadsheets. With this SDK, developers can:

  • Convert MPP to Excel online without installing MS Project.
  • Maintain accuracy of schedules, tasks, and dependencies.
  • Automate large-scale MPP to XLSX conversions.
  • Integrate directly into .NET applications.

Installation

You can install the SDK from NuGet Package Manager:

Install-Package GroupDocs.Conversion-Cloud

Next, obtain your Client ID and Client Secret from the GroupDocs Cloud Dashboard.

  • You may consider visiting the following tutorial for further details on obtaining client credentials.

Convert MPP to Excel in C# .NET

Here’s how to export MS Project data into Excel workbook using C#:

  1. Create an instance of Configuration class using client credentials as arguments.
Configuration configuration = new Configuration(clientId, clientSecret);
  1. Secondly, initialize the ConvertApi while providing Configuration object as an argument.
ConvertApi convertApi = new ConvertApi(configuration);
  1. Create an instance of ConvertSettings class where we define the input file name, output format as XLS and the name of the resultant document.
var settings = new ConvertSettings{...}
  1. Now, call the ConvertDocumentRequest API to perform the MPP to Excel conversion and save the resultant Excel to the cloud storage.
var response = apiInstance.ConvertDocument(new ConvertDocumentRequest(settings));
mpp to excel

Image:- A preview of MS Project to Excel file conversion.

  • The sample MS Project used in the above example can be downloaded from Home move plan.mpp.

Export MS Project to XLSX using cURL

An alternative approach is to convert an MPP file to Excel directly using REST API with cURL commands. So, the first step is to generate a JWT access token and then, execute the following cURL command to export Microsoft project to Excel format.

curl -v "https://api.groupdocs.cloud/v2.0/conversion" \
-X POST \
-H "accept: application/json" \
-H "authorization: Bearer {ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d "{  \"StorageName\": \"default\",  \"FilePath\": \"{inputMPP}\",  \"Format\": \"xls\",  \"OutputPath\": \"{resultantXLS}\"}"

Replace: inputMPP with the name of input MS Project file, resultantXLS with the name of resultant Excel workbook and ACCESS_TOKEN with a personalized JWT access token.

  • If your requirement is to save the resultant file on local drive, then please try using the following command:
curl -v "https://api.groupdocs.cloud/v2.0/conversion" \
-X POST \
-H "accept: application/json" \
-H "authorization: Bearer {accessToken}" \
-H "Content-Type: application/json" \
-d "{  \"StorageName\": \"default\",  \"FilePath\": \"{sourceFile}\",  \"Format\": \"xls\"}" \
-o "output.xls"

Free Online MPP to Excel Converter

If you want to try it without coding, check out the MPP to Excel Converter App. This free tool lets you upload an MPP file and instantly download its Excel version.

mpp to xls conversion app

Useful Resources

Conclusion

Converting MPP to Excel using GroupDocs.Conversion Cloud SDK for .NET provides a secure, automated, and scalable solution for project data transformation. Whether you’re exporting MS Project to XLSX for reporting or integrating bulk conversions into enterprise apps, this cloud API ensures accuracy, flexibility, and ease of use.

We highly recommend visiting the following links to learn more about: