Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

Product Page | Docs | Demos | Blog | Free Support | Temporary License | EULA

Aspose.PUB Convert Micro Application

This micro application facilitates the conversion of PUB documents between different formats, including PDF, JPEG, PNG, and more.

Competitive Features

  • Supported Input Formats: PUB.
  • Can be used both via command line and programmatically in your C# code, compatible with .NET 6.0/7.0.


While the Aspose.PUB Convert application is freely available, Aspose.PUB .NET requires a valid license for use beyond trial limitations. You can apply your existing license or evaluate the application under the trial mode of Aspose.PUB .NET.

System Requirements

  • Requires .NET 6.0/7.0 on Windows, Linux, or MacOS.
  • Aspose.PUB Convert application installed.


The Aspose.PUB Convert application can be installed either globally or locally, depending on your project’s needs. It is recommended to use the local installation for project-specific use to avoid version conflicts.

Global Installation:

To install Aspose.PUB Convert globally on your machine, use the following command:

dotnet tool install --global Aspose.PUB.Convert

Specify the --version option if you need a specific version of the tool.

Local Installation:

For local installation within a specific project, first, navigate to your project’s root directory. Then, execute the following commands:

Create a tool-manifest if not already present:

dotnet new tool-manifest

Install Aspose.PUB Convert locally:

dotnet tool install Aspose.PUB.Convert --local

Again, you can specify the --version option for a specific version.

Updating the Tool:

To update the Aspose.PUB Convert tool to the latest version, use the dotnet tool update command with either --global or --local, matching your installation type.

Uninstalling the Tool:

If you need to uninstall the tool, use the dotnet tool uninstall command with either --global or --local, depending on how the tool was installed.


Command Line:

Convert your Microsoft Publisher documents using command-line arguments. Here are the available parameters:

  • -i, --input [Required]: Path to the input PUB file.
    • Example: --input "path/to/"
  • -o, --output [Required]: Path where the converted document will be saved.
    • Example: --output "path/to/output/document.pdf"
  • -f, --format [Optional]: Supported formats include PDF, JPEG, PNG, and more, as per Aspose.PUB supported file formats.
    • Example: --format "pdf"
  • -l, --license [Optional]: Path to your Aspose.PUB.NET license file. This parameter is optional and only necessary if you have a license to apply.
    • Example: --license "path_to_license.lic
  • -v, --verbose [Optional]: Enable verbose output for detailed operation logging.
    • Example: --verbose

Example command-line usage:

Aspose.PUB.Convert --input --output output.pdf --format pdf

Use from code:

using Aspose.PUB.Convert;
using System.Threading.Tasks;

class Program
    static async Task Main(string[] args)
        // Initialize PUB convert options
        var options = new ConvertOptions
            // Required: Specify the input PUB file path
            InputPath = "",
            // Required: Specify the output document file path
            OutputPath = "output.pdf",
            // Optional: Specify the output document format
            ToFormat = "pdf"

        // Conditional: Apply license if you have one
        if (isLicensed)
            options.LicenseFile = "path_to_license.lic";

        // Execute the PUB conversion task
        await ConvertTasks.Create(options).Execute();